callback mechanism simplified
porting clients modal into teamup in progress halfway