Adding edit view for attachments