Pop up Window

So I am trying to figure out how to have a button open something similar to MSGBox that has a container I built as part of it for getting some choices. I have gone through the Language Reference and the examples, but I might be missing something. Wondering if somebody knows how to make one of these or can point me to the location of where I can find it?

in button action event… put “mywindow.showmodal”

where “mywindow” is you “something similar to MSGBox”

Not sure I follow this. So if I am reading this correctly, then my code should read something like this:

surveyBox.showmodal

Check out User Guide Book 2: User Interface, Chapter 2: Desktop, Section 13: Dialog Boxes. It shows you how to use MsgBox, MessageDialog and your own window as a dialog box.