Fixed cleaning issue for dialogs.