Lightbox dataset data mismatch

We have a dynamic item page that contains a button to open a lightbox for updating the same correction row displayed. However the lightbox opens with different row being displayed. Instead the displayed one is the latest row from the collection.

The dynamic dataset associated to the lightbox is set to read-write.

Any idea? Could we miss any settings?

Any help is greatly appreciated!