Page settings dialog validation

**Please merge opf/openproject#1445 first**