The base component for a modal, this contains the backdrop and the centered content with transitions.
Use this when you want to create a custom modal.
The content to render.
Whether or not to trigger the close event when clicking on the backdrop.
The close event handler.
Whether or not the modal is open.
The duration of the transition.
The zIndex of the modal.
Focuses the first focusable element in the modal.
Renders the modal.