Add confirm dialog when remove all history.