diff --git a/includes/class-freemius.php b/includes/class-freemius.php
index <HASH>..<HASH> 100644
--- a/includes/class-freemius.php
+++ b/includes/class-freemius.php
@@ -10404,8 +10404,10 @@
 				return;
 			}
 
+			if ( ! $this->is_ajax() ) {
 			// Inject license activation dialog UI and client side code.
 			add_action( 'admin_footer', array( &$this, '_add_license_activation_dialog_box' ) );
+			}
 
 			$link_text = __fs(
 				$this->is_free_plan() ? 'activate-license' : 'change-license',
[license-activation] [link] Only add license activation dialog HTML with the plugin link when it’s not an AJAX request.