Computer with a TigerVNC server session (a second xsession) running on port 5902.
Okular starts and works fine in this VNC session.
But any file chooser operation (Open, Save as) will open the file chooser dialog on the physical screen (not in the VNC session).
This issue seems to be unique to the Okular flatpak (or KDE flatpak apps?!) because I run many flatpak apps (such as Gimp, Inkscape) and no other flatpak app that I use has this problem. I attach a screenshot with Okular running in VNC on port 5902 but the file chooser dialog has popped-up in the VNC session running on port 5900 (5900 is the same xsession that is running on the physical screen).

.