UX: Minor styling improvements to invites (PR #12715)

Reduce the width of the modal to make it consistent with other modals and use the full width for inputs with a button on the right side.


Can we have before / after screenshots of the changes?

I updated PR description to include screenshots.