Make it possible for edit tab to be active when editing