MainWindow: add Cancel button to the "Minimize or Close?" message box.