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.
Most of the details about dialogs have been covered in Components/Modal documentation. Please refer to this page for more details.
Alerts are urgent interruptions, requiring acknowledgement, that inform the user about a situation.
Alerts with title bars
Use title bar alerts for high-risk situations, such as the potential loss of connectivity. Users should be able to understand the choices based on the title and button text alone.
Alerts without title bars
Most alerts don’t need titles. They summarize a decision in a sentence or two by either asking a question or making a statement related to the action buttons.