Add confirm dialog when clear all records.