Properly hide the suggestions list in some cases.
Revert "Use the same window flags for the scan window, on Win and Linux."

Unfortunately, the change didn't work properly on KDE systems.

This reverts commit 8a8c7cc7d7356495bf3ae53c0f01a266143e49ee.