src/View/Helper/ModalHelper.php
protected function _cleanCurrent() {
        if($this->_current) {
            $current = $this->_current;
            $this->_current = null;
            return $this->formatTemplate($current.'End', []);
        }
        return '';
    }
protected function _cleanCurrent() {
        if($this->_current) {
            $current = $this->_current;
            $this->_current = null;
            return $this->formatTemplate($current.'End', []);
        }
        return '';
    }
protected function _cleanCurrent ( ) { if ( $ this -> _current ) { $ current = $ this -> _current ; $ this -> _current = null ; return $ this -> formatTemplate ( $ current . 'End' , [ ] ) ; } return '' ; }
Cleans the current modal part and return necessary HTML closing elements.

@return string An HTML string containing closing elements.
Cleans the current modal part and return necessary HTML closing elements .