break out select unselect handler