Added the event that triggered file handling to drag and drop support.