Added callback implementation for editor save