Changed edit behavior of tree view