<% if (label) { %>
data-role="close"<% } %>> <% if (icon) { %> <% if (badge) { %> <% } else { %> <% } %> <% } %> <%= label %>
<% } %>
<% if (close) { %> <% } %>
<% if (footerContentOptions) { %> <% } %>