Adds a popup for facebook and twitter sharing. Falls back on new tab if popup blocker detected.