Close the secondary toolbar after clicking on open file or presentation mode buttons