- checking for document attachment duplicates while adding