allow uploading files by drag and drop

Discussion in #803.