src/collections/Message.php
public function registerClientScript()
    {
        if ($this->closeIcon !== false) {
            $view = $this->getView();
            DosAmigosAsset::register($view);
            $view->registerJs("dosamigos.semantic.initMessageCloseButtons();");
        }
    }
public function registerClientScript()
    {
        if ($this->closeIcon !== false) {
            $view = $this->getView();
            DosAmigosAsset::register($view);
            $view->registerJs("dosamigos.semantic.initMessageCloseButtons();");
        }
    }
Initializes the message closing buttons