cleared search text field after user clicks ‘ok’