add analytics events for opening/closing share modal, closes #175