submitLabel}}}</button>
    {{/if}}
    {{#if closeLabel}}
      <button id="closeButton" class="waves-effect btn-flat {{btnSize}}">{{{closeLabel}}}</button>
    {{/if}}
  </div>
</template>

<!-- Templates to insert into the mainBody above -->

<template name="materializeModalAlert">
  <div class="alert alert-warning">
    <strong id='label'>{{label}}</strong> <span id='message'>{{{message}}}</span>
  </div>
</template>

<template name="materializeModalError">
  <div class="alert alert-danger">
    <h4 id=