{
+ event.preventDefault();
+ close('continue');
+ }}
+ onkeydown={(event) => {
+ // Let the native cancel event close only this dialog, not a background wizard.
+ if (event.key === 'Escape') event.stopPropagation();
+ }}
onclick={(event) => {
if (event.target === event.currentTarget) close('continue');
}}>
-