|The content to render|
|Whether it is open or not|
|Whether the it can be dismissed|
|A function to be called when it is dismissed|
|A reference to an element to focus on when it closes|
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.