Only people with admin permission to the Project can see the Share button and dialog. It doesn't make sense to alert users who can't interact with the feature anyway.