[popover][data-is="market-dialog"] button[data-action="continue"]
Switches to the suggested market when it is not the current one, closes the suggestion and remembers it was seen; with a country-switcher inside the dialog it only closes (the visitor chooses there). Closing the dialog any other way stays on the market. (1.x: only closed)
[popover][data-is="market-dialog"] button[data-action="continue"] is a template, read by [popover][data-is="market-dialog"]: it is never defined on its own.
Where it can go
- Inside
[popover][data-is="market-dialog"]. - Out of place, it stays in the page and does nothing.
What it requires
Nothing beyond Smootify: it works on every plan.
Attributes on the element
- It reads
data-action.