Modal
A modal is an overlay that requires the user to interact with it and is designed to elicit a response from the user. It basically uses the card element to show the interface.
Default
Persistent
By default, if the user clicks the modal backdrop, the modal gets closed. Add the persistent
attribute if you don't want this.
Glass
If you're modal is just a dialog, which means you just want to give a message to you're user, you can use the glass attribute and floating footer slot to make a nice looking dialog.
Custom
As promised, you can easily create a custom modal. Instead of using the card element, you can use any element inside the modal. We'll just provide the backdrop for the element.