added support for attachments through drag and drop