Configured MainWindow default close operation.