Add callback for node selection toggles.  This is useful for managing an external list of selected nodes (by an arbitrary id) for possible persistence and re-hydrate of tree state.