Validation for add page modal

Fixes https://github.com/Connexions/webview/issues/808