bootstrap modal editor for attachments