Added ParseDialogCallbackUrl method