Resize your Modal popup Height instead of iframe. The iframe automatically will
adjust in it. You can get the modal pop up object at client side by the iframe object as
iframe1.contentWindow.document.getElementById('modalpopupid').style.height='100px';