Auto-edit new tree items

Signed-off-by: Michael Buesch <m@bues.ch>