add game ending dialog