Add validation of the content model edited by EditPage

Bug: 57615
Change-Id: I6c1bb9774542e39bfb899a47b7afac516fea4a16
Merge "Add validation of the content model edited by EditPage"