datadialog.ts update

minor enhancement