diff --git a/webadmin/src/views/appstore.html b/webadmin/src/views/appstore.html
index 1d4c87283..f139fa732 100644
--- a/webadmin/src/views/appstore.html
+++ b/webadmin/src/views/appstore.html
@@ -103,13 +103,12 @@
This Cloudron is running low on resources.
-
Installing this app might decrease the performance of other apps. The Cloudron's resources can be extended with a plan upgrade or available resources may be freed up by uninstalling unused applications.
+
The Cloudron's resources can be extended with a plan upgrade or available resources may be freed up by uninstalling unused applications.
diff --git a/webadmin/src/views/appstore.js b/webadmin/src/views/appstore.js
index c3b8e30be..5a4e02829 100644
--- a/webadmin/src/views/appstore.js
+++ b/webadmin/src/views/appstore.js
@@ -12,7 +12,14 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
$scope.searchString = '';
$scope.showRequestUpgrade = function () {
- $location.path('/settings');
+ // wait for dialog to be fully closed to avoid modal behavior breakage when moving to a different view already
+ $('#appInstallModal').on('hidden.bs.modal', function () {
+ $scope.appInstall.reset();
+ $('#appInstallModal').off('hidden.bs.modal');
+ $location.path('/settings');
+ });
+
+ $('#appInstallModal').modal('hide');
};
$scope.appInstall = {
@@ -166,6 +173,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
// wait for dialog to be fully closed to avoid modal behavior breakage when moving to a different view already
$('#appInstallModal').on('hidden.bs.modal', function () {
$scope.appInstall.reset();
+ $('#appInstallModal').off('hidden.bs.modal');
$location.path('/apps');
});