typo

removed } from <div class="modal{if $form->type} {$form->type}{/if} hide" id="createForm"}>