clean up of the dialogs boxes2