The Controlled example from the Alert dialog docs.
npx shadcn@latest add @hextaui/alert-dialog-controlled
alert-dialog-controlled