removed erronious dialog class