thanks for the quick replies.
after reading the articles, I tried to use a selection observer, but there seems to be some "gotchas" with it.
for example, if you manually select something, it won't trigger the "onSelectionAdd" event, but if it is automatically selected, then it will.
any ideas?