Conditional save.