<div class="ui-dialog-maxheight-scroll" style="max-height:250px;">
    <h4>{$i.addresses_selected_address}</h4>
    <hr />
    <ul>
        {foreach item="selected_address" from=$selected_items}
            <li class="dialog_make_text_btn ui-corner-all" onclick="basicForm.selectable_row.unselect_from_dlg('addressesandcontacts','{$selected_address->id}', this);">
                <span class="dialog_make_btn16 delete ui-corner-all"></span>
                {$selected_address->address_name}
            </li>
        {/foreach} 
    </ul>    
</div>

<div class="ui-dialog-addi-edit-fields">
    <h4>{$i.basic_addi_fields}</h4>
    {include file='Addressesandcontacts/addi_edit.tpl' add_iconsleft_file='addi_derive_checkbox'}
</div>
