Request permission before opening pop up windows.