Fix double-popup issue with social share links