added support for typeahead:select event