DialogButton result = Box::yesNo("Do you like AX?", DialogButton::Yes, "Question"); ; if (result == DialogButton::No) { info("You're 1C zealot"); }