closes the menu when we click on file and the ribbon is 'closed'