diff --git a/src/ui_components/jfrog_modal/jfrog_modal.js b/src/ui_components/jfrog_modal/jfrog_modal.js
index <HASH>..<HASH> 100644
--- a/src/ui_components/jfrog_modal/jfrog_modal.js
+++ b/src/ui_components/jfrog_modal/jfrog_modal.js
@@ -99,7 +99,7 @@ export class JFrogModal {
                     this._clickFirstFoundButton(['.wizard-modal button#wizard-popup-next', '.wizard-modal button#wizard-popup-next-custom', '.wizard-modal button#wizard-popup-finish'])
                 }
                 else {
-                    this._clickFirstFoundButton(['.modal-dialog button.btn-primary'])
+                    this._clickFirstFoundButton(['.modal-dialog button.btn-primary:not(.ignore-enter)'])
                 }
                 event.preventDefault();
             }
JFrogModal: Add option to ignore primary button when enter key is pressed