DirectDialog question

I’d like to pop up a window with an edit box and two buttons: ok and cancel. It should allow the user to enter text and hit ok.

I see a lot of options for DirectDialog with only buttons, but no edit field. Can DirectDialog handle this one? If not, what is the best way to do this?

You can create your own DirectEntry and parent it to your dialog after you have created it.