set modal dialog to another position