Prevent drop file when a file has been selected.