remove close for main window