make confirm mode optional

ok.  changes look good to me