finish tree edit pages mode