I also have one more question. I am showing the search widget inside a modal window. Is it possible to get focus on the search input when modal is opened? jQuery.focus() function is not working for some reason. Does the widget need special function for this?