fix(multipage-editor): allow switch to editor with xml view open

Closes CAM-1827