close typeahead on enter