handle iframes in modals for PIU

modifications for handling iframes nicely