When the dialog is popped up, it is not necessary to open it with $('#dialogDiv').dialog('open');. Open with $('#dialogDiv').window('open');. Then use the resize method of the window to rearrange the layout.
Something like:
var top = $("#struBtn").offset().top + 30;
var left = $("#struBtn").offset().left;
$('#dialogDiv').window('open ').window('resize',{width:'250px',height:'500px',top: top,left:left});
Something like:
var top = $("#struBtn").offset().top + 30;
var left = $("#struBtn").offset().left;
$('#dialogDiv').window('open ').window('resize',{width:'250px',height:'500px',top: top,left:left});