diff --git a/popups.js b/popups.js
index 57be2ab..93dddc3 100644
--- a/popups.js
+++ b/popups.js
@@ -813,7 +813,6 @@ Popups.openPath = function(element, options, parent) {
   var ajaxOptions = {
     url: href,
     dataType: 'json',
-    data: params,
     beforeSend: Popups.beforeSend,
     success: function(json) {
       // Add additional CSS to the page.
@@ -828,6 +827,9 @@ Popups.openPath = function(element, options, parent) {
       $('body').css("cursor", "auto"); // Return the cursor to normal state.
     }
   };
+  if (!$(element).hasClass('form')) {
+    ajaxOptions.data = params;
+  }
 
   if (options.reloadOnError) {
     ajaxOptions.error = function() {
