Modify a new model and controller before create treeview.