code to open social connect on a new tab