can we cache the reference to these nodes in some way, as they are used both for entering select mode and exiting select mode