Fixed bug (displaying typeahead on popup)