Fix a bug with "accept/decline" invitation modals