updated dependent destroy on document_attachments, css notice if no files