added tree to content subtab

Added the tree library to the content subtab and connected it to the add
topic dialog.
Altered the add topic dialog to only add new topics, not edit existing
topics