Don't prompt when leaving the page for add tree -> continue editing.
Fixes #969, Fixes #969
Merge pull request #979 from maurizi/fix/969/addTreePrompt

Don't prompt when leaving the page for add tree -> continue editing.