First attempt to make the PageEditor use the default way with modals.
Refactoring pageeditor.js and texteditor.js to use the new modal.js. Also adds modalId to all callbacks. Therefor all code using Modal.create() needed an update.