A CSS-only modal based on the ::backdrop pseudo-class. Hope you find it helpful.
You can also change the styles of the ::backdrop from the CSS.
::backdrop
STATISTICHE