to add OnOK and OnCancel into startiodlg.cpp