Add scope event for when a selection occurs.