Topic/tree edit mode labels

Fixes labeling on the tree detail edit page.
Add a comment explaining the magic number 2