I have a browser_action popup that opens an HTML page (the same as my options_ui), and some of the checkboxes on the page will request permissions when ticked. This works fine in the regular options_ui page, but when the page is opened as a browser_action popup, the permissions popup is on a layer behind the HTML page so the it has to be dismissed before the permission can be granted. This causes a problem because I have the browser.permissions.request wait to return true before saving the settings.
I would assume the permission popup should always display on top of everything else.
Is there anyway to force the permission popup to be above the browser_action popup?