I'm sorry, the template which i looked thru to give this advice was slightly customized...
As I see from original tpl listing you should paste this line right after
HTML Code:
{/capture}
{include file="dialog.tpl" title=$current_category.category content=$smarty.capture.dialog extra='width="100%"'}