checks for new selection before adding a new group