dialog class added