OPAL-2392 - addde validation when no file or folder is selected