1$('selector').dialog({
2 autoOpen: false,
3 open: function(event, ui) {
4 $(event.target).dialog('widget')
5 .css({ position: 'fixed' })
6 .position({ my: 'center', at: 'center', of: window });
7 },
8 resizable: false
9});