clicking add child button brings up the new node modal. cleaned up some smelly code