A deprecated way for creating and displaying a modal dialog box containing a specified HTML document.
From the MDN :
The
Window.showModalDialog()
creates and displays a modal dialog box containing a specified HTML document.Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.