Fix toggle tree in media popup.
External onlick handler and button style for tree toggle.
Minor treeview markup cleanup.
Temporary CSS fixes for treeview.