
<patTemplate:tmpl name="pageoutput" >
	<a
	data-toggle="modal" 
	random_identifier="{RANDOM_IDENTIFIER}" 
	data-target='#{RANDOM_IDENTIFIER}' 
	href="{JOMRES_SITEPAGE_URL_AJAX}&modal_wrap=1&task={TASK}{EXTRA}&modal_title={MODAL_TITLE}" 
	>
		<button class="btn {BUTTON_COLOUR}">{TEXT}</button>
	</a>
	
	<div class="modal hide fade" id="{RANDOM_IDENTIFIER}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		
	</div>
</patTemplate:tmpl>