# Issue when uploading via addons

**URL:** <https://discourse.mozilla.org/t/issue-when-uploading-via-addons/129386>\
**Category:** Add-on Support\
**Created:** [April 10, 2024, 9:37am UTC](https://discourse.mozilla.org/t/issue-when-uploading-via-addons/129386 "2024-04-10T09:37:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![youritsup](https://avatars.discourse-cdn.com/v4/letter/y/dfb087/32.png) [@youritsup](https://discourse.mozilla.org/u/youritsup)\
**Post date:** [April 10, 2024, 9:37am UTC](https://discourse.mozilla.org/t/issue-when-uploading-via-addons/129386/1 "2024-04-10T09:37:25Z")

</div>

Hi ffdevs,

I have in past developed an extension for note making in which i have included an option to take backup of the notes and upload in case of browser reset/change.

In chromium browsers this works fine here the extension works fine but when i try to upload anything it asks me to open the file and when i open the extension disappears or closed and nothing happens.

This feature is very important for my extension. If there is anything we can do to upload or its a bug and needs to be fixed?

For reference my extension link: [https://addons.mozilla.org/en-US/firefox/addon/my-canned-notes/](https://addons.mozilla.org/en-US/firefox/addon/my-canned-notes/)

---

<div class="post-metadata">

**Author:** ![juraj.masiar](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/juraj.masiar/32/30587_2.png) [@juraj.masiar](https://discourse.mozilla.org/u/juraj.masiar)\
**Post date:** [April 10, 2024, 4:00pm UTC](https://discourse.mozilla.org/t/issue-when-uploading-via-addons/129386/2 "2024-04-10T16:00:06Z")

</div>

Sadly, this is a know 7 years old bug with low priority:

> **[1378527 - popups opened from a panel cause the panel to close](https://bugzilla.mozilla.org/show_bug.cgi?id=1378527)**
>
> NEW (nobody) in Core - XUL. Last updated 2024-02-09.

The workaround - you detect that your page is opened in a popup and show a button with a text “To import backup, click here to reopen this page in a new tab”. And the button click will open the `popup.html` file in a new tab like a normal page.  
☹
