Searching mode in dropdown while searching

Fix for issue #943. Make the dropdown go into searching mode while searching and ensure spinner shows during this period as well.