Chrome Canary has landed support for the <dialog> element behind a flag. Turn it on by enabling "Enable experimental Web Platform features" in about:flags.
<dialog> element can be used for popups in a web page.
::backdroppseudo-element to style background behind a modal dialog.
closeevent and value passing with