Add Facebook share link, and generalize share popup code.