<div class="ui-dialog-maxheight-scroll" style="max-height:480px; margin-top:15px;">
    <ul>
        {foreach item="tree_item" from=$tree_list}
                <li class="dialog_make_text_btn ui-corner-all" onclick="md_work_packages.add_branch_preset_do({$parent_id}, {$tree_id}, {$tree_item->tree_id})">
                    <span class="dialog_make_btn16 ok ui-corner-all"></span>
                {$tree_item->tree_name}
                </li>
        {/foreach}
    </ul>    
</div>