add blur event for search input