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.
Wether or not to trigger the close event when clicking on the backdrop.
The content to render.
The close event handler.
Wether 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.