diff --git a/typo3/sysext/extensionmanager/Resources/Public/JavaScript/Main.js b/typo3/sysext/extensionmanager/Resources/Public/JavaScript/Main.js
index b2c0e272f05675e654653bc24ba0c2f29e54e510..94add80056b9e77fe976832e2e0425fc71dbcc5f 100644
--- a/typo3/sysext/extensionmanager/Resources/Public/JavaScript/Main.js
+++ b/typo3/sysext/extensionmanager/Resources/Public/JavaScript/Main.js
@@ -517,7 +517,7 @@ define([
 					]);
 					Modal.currentModal.on('shown.bs.modal', function() {
 						var $actionButton = Modal.currentModal.find('.t3js-dependencies');
-						$('input[name=unlockDependencyIgnoreButton]').on('change', function() {
+						$('input[name="unlockDependencyIgnoreButton"]', Modal.currentModal).on('change', function() {
 							$actionButton.toggleClass('disabled', !$(this).prop('checked'));
 						});
 					});