bool ask(string message)
Shows a question dialog with Yes/No buttons.
message
Example:
if (ask("Do you want to save changes?")) { saveDocument(); }