We've all had to respond to that ubiquitous question: Are You Sure You Want to Exit? Ever wondered what was behind creating them? Shoes gives you a total of 5 different dialog methods for displaying messages, asking questions, getting colors and filenames. Using these, like everything else in Shoes, is just a method call away.
Shoes.app :width => 100, :height => 40 do
button "Click me" do
alert "This is a message box"