If two game files are opened using the Recent Files menu, a save dialog opened after the second file still shows the previous file as the selected file. This happens in the Flatpak version of Pentobi with Qt 6.5 or later.
The bug is caused by QTBUG-114662 and cannot be fixed in Pentobi's code. You can vote for the bug in the Qt bug tracker.