A modal that keeps focus inside, closes on Escape and returns focus to its trigger.
npx shadcn@latest add https://www.themes.dev/r/ui/dialog.json
—
dialog