Merge pull request #3577 from Wikia/VE-422-fix

VE-422 Allow dialog iframe to fully load before appending script