Keep popup visible when file uploading is active

Hello,

I created my small extension and I’ve got some troubles in Firefox with file input inside my popup. I try to upload images by using this file input inside my popup and when file upload dialog is opened my popup hide out. For example in Chrome it works well, popup stays opened when file upload dialog is active.
Could you say please, how can I keep popup visible when file uploading is active?
(http://prntscr.com/doi67k)

I heard about someone trying to keep a popup open. I think it turned out it’s a feature that needs to be landed by the webext team. There should be a bug on bugzilla about it. I’ll try to dig it up

Yes, thank you, I found the same issue on this page: https://discourse.mozilla-community.org/t/how-to-load-file-into-webextension-popup/10134?u=gladisihor