BR: Dismissing a CallOutBox closes FileChooser

Really struggling to figure this one out, but it’s a show stopper for us. On Windows, if you open a FileChooser from a CalloutBox, the FileChooser closes if the callout box closes. Can’t figure out what’s going on, but the CallOutBoxCallback getting deleted causes the FileChooser to close. Windows only, seems fine on macOS.

Code to reproduce: juce_bugs/Modal/Source/MainComponent.cpp at master · FigBug/juce_bugs · GitHub

Video:

I found away to not use CalloutBox, so I can work around this for now.