UI-2988: UI bug when inviting a user in a space