Dialogs inform users about a specific task and may contain critical information, require decisions, or involve multiple tasks.
Dialogs contain text and UI controls. They retain focus until dismissed or a required action has been taken.
Use dialogs sparingly because they are interruptive.
Dialogs should never be obscured, either by other elements or the screen edge.
In the next example we will show you how to use a dialog popup.