Fix #572 (Add tree mode: "Let me continue editing this tree" option opens detail page in view mode)