added custom code to allow text search box to search based on  enter key