diff --git a/js/modal.js b/js/modal.js
index 94f4dc6..bda5ddb 100755
--- a/js/modal.js
+++ b/js/modal.js
@@ -263,7 +263,7 @@
   Drupal.CTools.AJAX.commands.modal_display = function(command) {
     $('#modal-title').html(command.title);
     $('#modal-content').html(command.output);
-    Drupal.attachBehaviors();
+    Drupal.attachBehaviors($('#modalContent'));
   }
 
   /**
