I think the iframe's HTML markup should in the permalinkpanel.html partial.