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

Fixes #969, Fixes #969