|The content to render|
|Whether it is open or not|
|A function to be called when it closes|
|A reference to an element to focus on when it closes|
This component supports all common props.
You can provide a function to get called when the Dialog is dismissed via click outside or escape key.
It is possible to focus a specific element inside the dialog after it opens. If not provided, it will focus on the first focusable element.