diff --git a/insert.js b/insert.js
index f2b5e79..f15c45c 100644
--- a/insert.js
+++ b/insert.js
@@ -11,7 +11,7 @@ Drupal.behaviors.insert.attach = function(context) {
   }
 
   // Keep track of the last active textarea (if not using WYSIWYG).
-  $('.node-form textarea:not([name$="[data][title]"])', context).focus(insertSetActive).blur(insertRemoveActive);
+  $('textarea:not([name$="[data][title]"])', context).focus(insertSetActive).blur(insertRemoveActive);
 
   // Add the click handler to the insert button.
   $('.insert-button', context).unbind('click').click(insert);
@@ -137,6 +137,10 @@ Drupal.insert = {
       Drupal.insert.activateTabPane(insertTextarea);
       Drupal.insert.insertAtCursor(insertTextarea, content);
     }
+    else {
+      //No active textarea was found.
+      alert(Drupal.t('Select a textarea before clicking the insert button.'));
+    }
 
     return false;
   },
