Issue 5237: Show "no results" for Find in Files

This is for #5237.

Removed the promise from dialog and create a function doSearch() which is called from the keydown event handler. 

Moved "dialog" object to module scope so that function _showSearchResults can directly handle it.

Adding a css class "no-results" to the input box when no results are present.