make confirm mode optional

changed to `confirmEnabled`