Ensure the DOM is ready and the iframe phones are created before customizing models

[#76060966]