allow queries to be opened in edit and view mode, switch between edit/view not toggling tool/sidebars