MDL-42150 Edit PDF: Fix error on saving annotations + comments.