Warn if closing window while in game