add result dialog class