{"version":"2.1.247","anchor":"dialogs-track-whether-you-opened-them","canonical_anchor":"dialogs-track-whether-you-opened-them","heading":"Dialogs track whether you opened them","tier":"internal","area":"UI","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247\/e\/dialogs-track-whether-you-opened-them","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247","markdown":"### Dialogs track whether you opened them\n\nDialogs you opened and dialogs the app opened are now stacked separately when closing.\n\n**What**\n\nEach open dialog now records whether it was opened by a user action, and dialogs opened by the user and those opened by the app are tracked as separate stacks, so closing one only affects the dialog beneath it when both are the same kind.\n\n**Details**\n\n- The component that scopes keyboard shortcuts to a dialog was rewritten from a compiler-memoized form to a plain hook-based one, with unchanged behaviour for scoping, preemption, swallowing keys and claiming focus.\n\n**Evidence**\n\n`userInvoked`\n\n- Area: UI\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5"}