handle death and add revive button