Added hooks for on groupSelection

These hooks mimic on nodeSelectoin