Merged Yiming's dialog.