<template name="viewer">
    <div class="viewerDialogs">
        {{#if and Template.subscriptionsReady dataSourcesReady}}
            {{>confirmDeleteDialog}}
            {{>measurementTableHUD (clone this)}}
            {{>cineDialog}}
        {{/if}}
    </div>
    <div id="viewer">
        {{#if and Template.subscriptionsReady dataSourcesReady}}
            {{>toolbarSection (clone this state=state)}}
            {{>viewerSection (clone this state=state)}}
        {{else}}
            {{>loadingText}}
        {{/if}}
    </div>
</template>
