{if $modal} {literal} {/literal} {/if}
{if $url && $modal} {else} {/if} {if $url} {/if}