open tree on submit