Modified to include the docDrop event, not it will call this event, usefull if you want to trigger something if the user dropped the file somewhere in the document and not in the container