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

another go, change the order and use window.top