Don't show the viewer if an editor is displayed. Otherwise, empty viewer might show or the viewer might be mostly obscured by the editor.