diff --git a/plugins/SegmentEditor/javascripts/Segmentation.js b/plugins/SegmentEditor/javascripts/Segmentation.js
index 1dac89a269d525bd7e721b730054ca6d13d62ed2..13126b2ccd82393e31863aa45d8489b21a5cc2e9 100644
--- a/plugins/SegmentEditor/javascripts/Segmentation.js
+++ b/plugins/SegmentEditor/javascripts/Segmentation.js
@@ -938,7 +938,7 @@ Segmentation = (function($) {
         };
 
         var closeForm = function () {
-            self.form.unbind().remove();
+            $(self.form).unbind().remove();
             self.target.closest('.segmentEditorPanel').removeClass('editing');
         };