Fix returning to file selection dialog after not confirming overwrite
Also use an explicit bool variable with self-explaining name to make code easier to understand.
Matches at least behaviour by default QFileDialog & Plasma platform implementation. And the code hints this was also the intention of the existing code.