if no callback provided to save, then create a noop function

I forgot that the callback to save was optional.