Renaming dialog fixed, cancel event added