Close current tab and highlight editor tab when user tries to open a
second editor.