added confirmWarning
v1.2.0