fixing issue where esc event from typeahead got in conflict with our own