bspanel header toggle selector

checks if the panel is editable before binding events