This sample demonstrates the different types of Dialog like alert, confirm, and prompt. The buttons “Alert”, “Confirm”, and “Prompt” will be shown after closing the alert Dialog. These buttons are used to open the corresponding Dialogs.
The Dialog control is used to display messages such as supplementary content like images and text, and an interactive content like form components within a web page. The following are the two types of Dialogs: Modal - The user should work with the Dialog before interacting with the parent application. Modeless - It allows to interact with the parent application when the Dialog stay on the page. More information on the Dialog instantiation can be found in the documentation section.