add tree models (tagtraa, dumpviewtree) onlywhen the tree is visible, better preserving the expanded states of the tree nodes