Use secure versions of all APIs/Popups