Switch edit/view pages using ui-codemirror to hawtio-editor