adding dialog for replay