Added onSelected event to Q/tabs tool