export interface UseDialogProps { open: boolean; onOpenChange: (open: boolean) => void; entity: T | null; }