WIKI-890: [Iframe] Impossible to add attachment to wiki page

Fix description:
- Avoid access main page in case of iframe