add onOK to the search textbox