rename createDialog