Selecting/Unselecting Options
Selecting/Unselecting options functionality is implemented in the Trio store and used by two different components: the Tagger and the Filter.
Clicking an option in the filter component will toggle its value; that is, will add or remove it from the filterSelected array and visually change its selection status in the filter form.
The behaviour when clicking an option on the Tagger Form is more complex and depends on the tag's status and the type of group it belongs to.
For both Filter & Tagger, unselecting an option unselects dependent groups and options recursively.
The implementation of this behaviour can be found here - start with optionClicked().