adae596279
The confirmation dialog was rendered inside the non-modal history popover, so taking focus dismissed the popover and unmounted the dialog with it. It now lives in the header as a sibling of the popover, and the panel's Escape handler only fires for events whose target is inside the panel.