Page settings dialog validation

**Please merge opf/openproject#1445 first**

https://www.openproject.org/work_packages/9901