Get the current window scene in a popover when extension button is clicked