Port view/cast flag pages to DOM.