protected function getActiveTab($pull = true)
    {
        $key = $this->getModelSessionKey() . ':' . static::ACTIVE_TAB_SESSION_KEY;

        if ($pull) {
            return session()->pull($key);
        }

        return session()->get($key);
    }