dialog.dialogId deprecated in favor of dialog.id