Cancel button is not needed in main window