sets dialog class creations in place