How do you deal with scenarios when the same user has 2 browser windows of the extension open?

persoanlly I have this off.

But I have a “basket” flow in my extension

So for each instance of the extension.
Only one of those instances is in a basket state ready for a purchase event.
So if the other instance gets a trigger, it ignore it, as it’s not in “basket state”