The dialog control is used to create alert, prompt, and confirmation dialogs using content, and buttons property. The content property accepts both string and HTML element as content. Alert - Used to show errors, warnings, and information that needs user awareness. Prompt - Used to get input from the user. Confirmation - Used to get approval from user that appears before any critical action. More information on the Dialog instantiation can be found in the documentation section.