ui.MainWindow: make sure close button and file->exit do the same thing