get attachments for ui (on edit) modified