CYKLO-988: catch exceptions thrown by ProposedDocumentData.fromProposal
and mark document as damaged.
CYKLO-988: provide a visual cue for damaged documents in poroposed
changes section