prevent showing the menu if more then one file is selected