safe upload before maybe saving