[fix] Changed iframe API to support adding and removing iframes to retry code.