add a hook so that selection-change event listener can be setup
in markup