LPS-48033 Cannot submit form of edit document type page

/CC @sergiogonzalez

Hi Marcellus:

Please review this change. It fixes another regression caused by LPS-47830.

Regards,
Ivan