you can test if it is a File or Folder which are select Yes, this is only a workaround. Mr. Natter expects that the user should not be able to select a file. In other words, the OK button to be grayed out so that the user can not select if the cursor is on a file, but ...