The search function is utilized by HtmlDialog, so I assume the explanation and workaround could be similar as here:
search function