suggestion-model: don't crash in search provider mode
e962f8ec broke the search provider; it now crashes instead of returning results. Problem is there's no window in search provider mode.
e962f8ec broke the search provider; it now crashes instead of returning results. Problem is there's no window in search provider mode.