src/Extensions/GridFieldBetterButtonsItemRequest.php
public function save($data, $form)
    {
        $origStage = Versioned::get_stage();
        Versioned::set_stage('Stage');
        $action = $this->owner->doSave($data, $form);
        Versioned::set_stage($origStage);

        return $action;
    }
public function save($data, $form)
    {
        $origStage = Versioned::get_stage();
        Versioned::set_stage('Stage');
        $action = $this->owner->doSave($data, $form);
        Versioned::set_stage($origStage);

        return $action;
    }
Allows us to have our own configurable save button
@param  arary $data The form data
@param  Form $form The Form object
@return HTTPResponse