create search widget.