Added dialog for search.