public function toHtml()
 {
     $panel = new Html('div');
     $panel->addAttribute('id', 'actionLookup');
     $select = new Html('select');
     $select->addCssClass('lookup')->addCssClass('form-control');
     $select->addAttribute('name', $this->id);
     $select->addTo($panel);
     $actions = array();
     if (isset($this->module)) {
         $actions = Modules::getModule($this->module)->getAllMenuActions();
     }
     foreach ($actions as $action) {
         $option = new Html('option');
         $option->addAttribute('value', $action->name)->addInnerHtml($action->description);
         if ($action->name == $this->selectedItem) {
             $option->addAttribute('selected', 'selected');
         }
         $select->addInnerHtml($option);
     }
     return $panel->render();
 }