Put the second Dialog inside the first one’s content. The first steps back, and Escape closes only the one on top.
pnpm dlx shadcn@latest add "https://kinoui.com/r/dialog-5.json"