protected function formActionForSelect(ContaoBackendViewTemplate $template)
    {
        $environment = $this->getEnvironment();
        if (!$template->get('select')
            || ('select' !== $environment->getInputProvider()->getParameter('act'))
        ) {
            return;
        }

        $actionUrlEvent = new AddToUrlEvent('select=properties');
        $environment->getEventDispatcher()->dispatch(ContaoEvents::BACKEND_ADD_TO_URL, $actionUrlEvent);

        $template->set('action', $actionUrlEvent->getUrl());
    }