create and view attachments (bug 958677)