Make a search value consistent with the search box.

review: @p-march, @mvrable

I have one concern such that our search box works only after a user push down "ENTER" key. This scenarios is inconsistent with the search box in the main window.