Works well thanks. Moving a lot of processing from the server to the browser has been a steep learning curve but the more I learn the more I like the CGJQ components. Really appreciate your help.
For those coming across this post at some later stage, the javascript calls are:
javascript code
$("#MYDIALOG").dialog("open");
$("#MYDIALOG").dialog("close");
if you wish to notify the server that the visibility status has changed (the next time the form is submitted) then the following line should do the trick.
javascript code
AddChangedControl("MYDIALOG_VISIBLE");
Thanks, Peter