Avoid showing the viewer when editor is opened