I would do the same here. Simply create defaults object based on `ANNOTATION_DEFAULTS`, add `_id` to the set and set session variable back. If nothing changes in session variable, then nothing happens. If there was a change, then it will trigger rerendering.

So the only question is how to add a new element to the set. You can maybe simply use `_.union`.