protect against getUILanguage not existing
temp fix, don't fire search if qury is undefined
update link in popup