finishing tree edit dialog local edit function