Looking at the show() calls though, they’re only a very thin wrapper to runModalLoop, so this mean we should only ever call show() or is show() is bad too?
What are the alternatives to calling runModalLoop() for popping up windows?
There’s no way except to roll your own Component… I haven’t yet found a safe way to dismiss the FileChooser in a Plug-In if the Host is quit while the Chooser is open. It may be possible though… I do see it used in one JUCE based plugin.
Yes, this is an annoying feature of native file choosers - at some point we’ll revisit them and try to find some asynchronous solutions for each platform.