Disabling the X button on the GW window