root button adds brackets around the selected term