make confirm message configurable