added ending game dialog