Hides the two toolbar buttons when a session is closed by clicking on the toolbar close session button. The buttons were remaining.