adding file attachments to link dialog