loading dialog in searching