I'm writing a zimlet and according to the docs, doDrag takes a canvas parameter....

The problem is, if you don't specify an <actionUrl> then the canvas (dialog in my instance) never gets created. If you do specify the actionUrl and pass it an empty url, the dialog is created but the doDrag function is never triggered.

Is there something obvious I'm missing here?

Otherwise, is there a good way to create a new dialog box?

Last question is, I can't seem to see where in the docs (if it does) it talks about how to capture the "ok" and "cancel" buttons on the canvas..... anyone able to give me a pointer in the right direction?

Thanks