close editor windows when switching branches