public function getWizard(ManipulateWidgetEvent $event)
    {
        if ($event->getModel()->getProviderName() !== $this->metaModel->getTableName()
            || $event->getProperty()->getName() !== $this->propertyName
        ) {
            return;
        }

        $propName   = $event->getProperty()->getName();
        $model      = $event->getModel();
        $inputId    = $propName . (!$this->metaModel->getAttribute($this->propertyName)->get('trim_title') ? '_1' : '');
        $translator = $event->getEnvironment()->getTranslator();

        $this->addStylesheet('metamodelsattribute_url', 'bundles/metamodelsattributeurl/style.css');

        $currentField = \deserialize($model->getProperty($propName), true);

        /** @var GenerateHtmlEvent $imageEvent */
        $imageEvent = $event->getEnvironment()->getEventDispatcher()->dispatch(
            ContaoEvents::IMAGE_GET_HTML,
            new GenerateHtmlEvent(
                'pickpage.gif',
                $translator->translate('pagepicker', 'MSC'),
                'style="vertical-align:top;cursor:pointer"'
            )
        );

        $event->getWidget()->wizard = ' <a href="contao/page.php?do=' . Input::get('do') .
            '&amp;table=' . $this->metaModel->getTableName() . '&amp;field=' . $inputId .
            '&amp;value=' . \str_replace(array('{{link_url::', '}}'), '', $currentField[1])
            . '" title="' .
            StringUtil::specialchars($translator->translate('pagepicker', 'MSC')) .
            '" onclick="Backend.getScrollOffset();'.
            'Backend.openModalSelector({\'width\':765,\'title\':\'' .
            StringUtil::specialchars(\str_replace("'", "\\'", $translator->translate('page.0', 'MOD'))) .
            '\',\'url\':this.href,\'id\':\'' . $inputId . '\',\'tag\':\'ctrl_' . $inputId
            . '\',\'self\':this});' .
            'return false">' . $imageEvent->getHtml() . '</a>';
    }