diff --git a/js/modal.js b/js/modal.js
index 33f071f..49c375d 100644
--- a/js/modal.js
+++ b/js/modal.js
@@ -516,6 +516,9 @@
     $('body').unbind('keypress', modalEventHandler);
     $('.close').unbind('click', modalContentClose);
     $(document).trigger('CToolsDetachBehaviors', $('#modalContent'));
+    var base = $('#modalContent form').attr('id');
+    // Remove the form reference to prevent a call to Drupal.attachBehaviors().
+    Drupal.ajax[base].form = null;
 
     // jQuery magic loop through the instances and run the animations or removal.
     content.each(function(){
