open the main window when clicking on the dock icon