code/template/helper/actionbar.php
public function dialog($config = array())
    {
        $html  = $this->createHelper('behavior')->modal();
        $html .= $this->command($config);

        return $html;
    }
public function dialog($config = array())
    {
        $html  = $this->createHelper('behavior')->modal();
        $html .= $this->command($config);

        return $html;
    }
public function dialog ( $ config = array ( ) ) { $ html = $ this -> createHelper ( 'behavior' ) -> modal ( ) ; $ html .= $ this -> command ( $ config ) ; return $ html ; }
Render a dialog button

@param array   $config An optional array with configuration options
@return  string  Html
Render a dialog button