the caller of createSharingDiv should really be the one that knows whether they want to showSharing