Session is saved only if ImageConfig->is_altered