show main window on cancel