Hi, I'm the default dialog.
This is an error message.
Something happened that I need to tell you.
The web is awesome right?
I don't use any keyframes either, I'm all CSS transitions.
Some Javascript is listening for clicks and closing this dialog if it notices the backdrop was clicked.
Note: Wanting light dismiss for a dialog tends to mean the UX you're after is a popover.