Add glossary style to the selected text when clicking the glossary button - refs BT#8980