Fixed the issue of success getting called twice and iframe cleanup.