Replace the unit page with the container page

STUD-1754
One is to edit the page's container, and one is to edit a child xblock. The code is very similar so I could probably share some of the logic.