<% if (title) { %>
<% if (allowCancel) { %> × <% } %>

<%= title %>

<% } %>
<%= content %>
<% if (showFooter) { %>
<% if (allowCancel &&cancelText) { %> <%= cancelText %> <% } %> <%= okText %>
<% } %>