MDL-38171 editpdf: Fix bug where comment where not added to generated pdf