Use canvas.MessageBox.critical/warning/information/question to show a standard, but also customizable dialog box.