<template name="materializeModalContainer">
  {{#if modalOptions}}
    <!--  if modalOptions is null, do not render anything! -->
    {{#with modalOptions}}
      {{> materializeModal }}
    {{/with}}
  {{/if}}
</template>

<template name="materializeModal">
  <div id="materializeModal" class="materialize-modal modal
    {{#if fixedFooter}}modal-fixed-footer{{/if}}
    {{#if bottomSheet}}bottom-sheet{{/if}}
    {{#if fullscreen}}full-screen{{/if}} {{class}}">

    {{#materializeModalForm}}
      <div class=