Hard time positioning jquery dialog

Hard time positioning jquery dialog

Hi guys,

I have the following and it positions the dialog at 0,0 of the viewport.  Any idea what is incorrect ?

  1. $('#GenericDialog').dialog(
    {
        position: [500, 500],
        width: 'auto',
        collision: 'fit',
        show: 'fade',
        hide: 'fade',
        showAnim: 'slow',
        title: 'Information de la prise',
        closeOnEscape: true,
        dialogClass: 'dialogWithDropShadow'
    });