Apologies, I never got around to that. But it looks like our wonderful community is half-way to sorting this already:
All that is needed for this to also be applied to the new Invite modal would be this:
Any chance the invites could be refactored to use the core Sharing API? To my mind, this would make a lot of sense all around, and mean that this feature can be nicely marked as completed