Description
`components/ui/dialog.tsx` has no test coverage for opening/closing via its trigger, the `showCloseButton` prop, or content rendering.
Task
Add a test file covering: the dialog opens when its trigger is activated, closes via the close button (when `showCloseButton` is true) and via Escape, and renders the provided content correctly.
Good for contributors because
Widely-used, self-contained UI primitive with a clear open/close interaction to verify.
Description
`components/ui/dialog.tsx` has no test coverage for opening/closing via its trigger, the `showCloseButton` prop, or content rendering.
Task
Add a test file covering: the dialog opens when its trigger is activated, closes via the close button (when `showCloseButton` is true) and via Escape, and renders the provided content correctly.
Good for contributors because
Widely-used, self-contained UI primitive with a clear open/close interaction to verify.