This example uses the showModalDialog method to open a customized dialog box.
Create Modal Dialog Box