Added a dialog class
cleaning