I need to check for a value on page load that will determine whether or not the dialog should autoOpen. I imagined that this would work similar to the way close is handled, but that's not the case.
$(".x_dialog").dialog({
autoOpen: function(){ret();}
});
function ret() {return false;}
My approach was wrong.
After the page has loaded, check for the conditions and then call
$("#x_dialog").dialog("open");
If appropriate.