I converted my chrome extension to a Safari extension and I do not know how to resolve one issue. After user clicks a button in a popup, I am doing this
docum