diff --git a/frontend/src/components/ImportDialog.vue b/frontend/src/components/ImportDialog.vue
index ef9aeddb234307ee03458654d714763f794dea83..dce2c06757d329c0c7838bce49e7364f65025691 100644
--- a/frontend/src/components/ImportDialog.vue
+++ b/frontend/src/components/ImportDialog.vue
@@ -28,6 +28,7 @@
         <v-btn
           id="submit-import"
           :loading="loading"
+          :disabled="!hektorFile"
           @click="submitData"
         >
           Import
@@ -88,6 +89,7 @@
           })
         } finally {
           this.loading = false
+          this.show = false
         }
       },
       readFile() {