A reusable dialog component that supports theming and custom styling.

This dialog allows for a customizable background color, width, and height. It includes a close button at the top-right corner and supports dynamic theming.

<Dialog open={true} onClose={() => alert("Closed")} bgColor="primary" width="400px">
<h1>Dialog Content</h1>
</Dialog>