retain search term on input blur unless it is empty