<patTemplate:tmpl name="pageoutput" unusedvars="strip">
<script type="text/javascript">
jomresJquery(document).ready(function () {
	jomresJquery('#consentForm').appendTo("body");
});
</script>

<style>
.modal-dialog,
.modal {
}

.modal-body {
    /* 100% = dialog height, 120px = header + footer */
    max-height: calc(100% - 120px);
    overflow-y: scroll;
}
</style>

<div class="modal hide fade" id="consentForm">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
	</div>
	<div class="modal-body">
		{CONSENT_FORM}
	</div>
</div>

  
</patTemplate:tmpl>