How to close main window when I clicked Open push button and when submenu clicked back button close the submenu window and open main window.
.........................