confirm to localstorage