addToGroup public method for group editor