attachments UI bugfixes