diff --git a/src/app/flux/project/index.js b/src/app/flux/project/index.js
index e110034131..8bc5a223d2 100644
--- a/src/app/flux/project/index.js
+++ b/src/app/flux/project/index.js
@@ -264,7 +264,7 @@ export const actions = {
if (modState.modelGroup.hasModel()) {
await dispatch(actions.save(headType, opts));
- await dispatch(actions.updateState({ openedFile: undefined }));
+ await dispatch(actions.updateState(headType, { openedFile: undefined }));
}
if (headType === HEAD_3DP) {
diff --git a/src/app/widgets/Enclosure/Enclosure.jsx b/src/app/widgets/Enclosure/Enclosure.jsx
index 7f4ecefc82..2dd43098a3 100644
--- a/src/app/widgets/Enclosure/Enclosure.jsx
+++ b/src/app/widgets/Enclosure/Enclosure.jsx
@@ -209,16 +209,16 @@ class Enclosure extends PureComponent {
{i18n._('Door Detection')}