I’ve hacked together another solution that also seems to work;
https://forum.juce.com/t/code-review-workaround-to-get-true-modal-dialogs-on-windows-and-osx/34392
Though I first want some confirmation from someone else on whether it is a correct design before I put it into production code.