query in the text view of the search widget is restored on expansion