dialog.crete to dialog init change