decide to add guiclassdialog first, fixed some problem with agent wizardpage