Renaming donedialog to dialog