protected function valueModal($title, $content, $buttonLabel=null)
	{
		$randomId = Yii::$app->security->generateRandomString();
		return Button::widget([
			'label'=>$buttonLabel !== null ? $buttonLabel : Yii::t('app', 'Show'),
			'options'=>[
				'class'=>'btn btn-xs btn-primary',
				'onclick'=>new JsExpression("$('#" . $randomId . "').modal()"),
			],
		]) . str_replace(
			['{id}', '{title}', '{content}'],
			[$randomId, $title, $content],
			$this->modalCode);
	}