Adding confirm to warnings