Issue Unigui / SDAC

Issue Unigui / SDAC

I have a problem that occurs with Unigui with SDAC

I have two forms, both have a grid connected to a Query (TMSQuery to be exact).

I open a popup and select a record, but when I close it, the first form record always moves to the first record.

1- Prepare a video so they understand the case.
2- The event does not occur in a traditional desktop application.
3- I am almost sure that in very old versions of Unigui it does not occur, because in my applications I always have a selection grid and only a few weeks ago my users reported it to me, (but I cannot know the exact version, it may be more than one / two years, since I have now updated the application and my user reported the problem to me).
4- The event does not occur with FireDAC.
5- I have tried Unigui properties such as FreeOnClose in the form and they work as desired, however I am not very sure what impact this has on my application, since I have a number of forms with that situation.
6- I have also tried BufferedStore, however this does not have the expected effect.
7- For now I am controlling with DataSet.DisableControls / DataSet.EnableControls.