Added GetDialogUrl method