adds success to invite modal and upload modal in lieu of backend