Added clear all action

Added the jQuery dialog and clear all button