Fixed the completion dialog
Autocomplete dialog mostly works
Added timeout before displaying the autocomplete dialog