This example demonstrates the default rendering of the dialog control with minimum configuration. Click close or press ESC to close the dialog. Click “open” to show the dialog again, if it is closed.
The dialog control is used to display information and get input from the user. The dialog control is classified as modal and non-modal dialog depend on its interaction with parent application. Modal - It creates overlay that disable interaction with the parent application, and user should respond with modal before continuing with other applications. Non-modal - It does not prevent user interaction with parent application.