took out clear all callback
added clear all dialog box before clear