Попробуйте это, братан (..)
function Edit_Click() {
$("#app_setup_wizard_container").dialog({
autoOpen:false,
height: 'auto',
width: 'auto',
resize:false,
modal: true,
position: [1230,220],
url = "/_layouts/Admin/test.aspx";
open: function(event, ui) {
var $dialog = $(event.target);
var position = $dialog.dialog('option', 'position');
$dialog.closest('.ui-dialog').css({
left: position[0],
top: position[1]
});
},
buttons: {
Cancel: function() {
$(this).dialog("close");
}
}