commit main view controller mating view.