clear search field when dismissing list dialogs