That's simple to save it's state, Just follow tha way
HERE[
^], Once you have stored state in
Dictionary
object then store that object permanantly using
Serialization[
^], Once page is loaded again,
DeSerialize
object back and Load tree view again from it.