Indicates the desired location for the dialog to appear. Options include:
1) a single string specifying position within the viewport: 'center', 'left', 'right', 'top', 'bottom'.
2) an array with x,y coordinates indicating pixel offset from the top left corner of the viewport (e.g. [350,100])
3) an array with x,y position string values (e.g. ['right','top'] for the top right corner).
Examples of code:
Set the position option when initializing a dialog.
$( ".selector" ).dialog({ position: 'top' });
Retrieve or change the position option after initialization.
//get
var position = $( ".selector" ).dialog( "option", "position" );
//set
$( ".selector" ).dialog( "option", "position", 'top' );
position : 'center'