another go, change the order and use window.top
Merge pull request #115 from ORCID/dev-patchEditEmailLink

another go, change the order and use window.top