<template>
  <div>
    <UploadDialog v-if="$store.upload_dialog.visible" />
    <PreviewDialog v-if="$store.resource_preview_dialog.visible" />
    <UpdatePasswordDialog v-if="$store.update_password_dialog.visible" />
  </div>
</template>

<script>
export default {
  components: {
    UploadDialog: () => import('./UploadDialog.vue'),
    PreviewDialog: () => import('./PreviewDialog.vue'),
    UpdatePasswordDialog: () => import('./UpdatePasswordDialog.vue')
  },
  mounted () {
    document.body.appendChild(this.$el)
  }
}
</script>
