replace confirm.