refactor RenameDialog

address review