Adding an id attribute to the iframe will allow you to manipulate the iframe from inside.
For example: you can add a button to the html with an onclick() event that does something like this: window.parent.document.getElementById('modalDialog').close();
Adding an id attribute to the iframe will allow you to manipulate the iframe from inside. For example: you can add a button to the html with an onclick() event that does something like this: window.parent.document.getElementById('modalDialog').close();