Make toolbar button only hide main window