Validation for add page modal

Fixes https://github.com/Connexions/webview/issues/808 and https://github.com/Connexions/webview/issues/809
The workspace, add-page, and search all have a fair bit of overlapping code beyond just the validation.  It would probably be better to just come up with an inheritable view(s) that can include all of the shared methods.