changed some dialog class stuff