<template name="messagePopup">
	{{#if isOpen}}
		<div class="message-popup-position">
			<div class="message-popup {{cls}}">
				{{#if title}}
					<div class="message-popup-title">
						{{title}}
					</div>
				{{/if}}
				<div class="message-popup-items">
					{{#each data}}
						<div class="popup-item" data-id="{{_id}}">
							{{> Template.dynamic template=../template}}
						</div>
					{{/each}}
				</div>
			</div>
		</div>
	{{/if}}
</template>
