Insert iframe after adding event handler