add close typeahead in $