-<div class="rng-dialog modal hide static">
+<div class="rng-dialog modal hide static <%= cssClass %>">
<div class="modal-header">
- <button type="button" class="close">×</button>
+ <% if(closeButton) { %><button type="button" class="close">×</button><% } %>
<h1><%= title %></h1>
</div>
<div class="modal-body">