Implementing Dialog Widget in VS2008 Masterpage and Child Form

Implementing Dialog Widget in VS2008 Masterpage and Child Form

I am attempting to use the Dialog widget in VS2008 utilizing a masterpage and a child form that needs to call the dialog box to appear on a asp button click event and close after processing a call to a .dll that generates a report.  Anyone know how to configure?