public void RequestLeave()
 {
     historyWindow.Leave(delegate
     {
         gameSystem.PopStateStack();
         gameSystem.UpdateWaits();
         gameSystem.MessageBoxVisible = true;
         gameSystem.MainUIController.ShowMessageBox();
         gameSystem.ExecuteActions();
     });
 }