wait for values to be initialized before rendering the iframe