Fix code style
Open invite prompt modal box after share modal closes

Closes #197