diff --git a/css/dropdown.css b/css/dropdown.css
index 293dba7d016ae2d6101bab52b0fe4dd8230e342a..48c603d0a5e13cac0f119671ecf8c7d880c1b4fd 100644
--- a/css/dropdown.css
+++ b/css/dropdown.css
@@ -1,6 +1,6 @@
 /* $Id$ */
 html.js div.ctools-dropdown div.ctools-dropdown-container {
-  z-index: 999;
+  z-index: 1001;
   display: none;
   text-align: left;
   position: absolute;
diff --git a/includes/css.inc b/includes/css.inc
index e1a4fccd6ea3884ac570d14ad56f4c4249618ed5..3123b7e915dcb52abc2b09224c3ec60462ce376d 100644
--- a/includes/css.inc
+++ b/includes/css.inc
@@ -106,6 +106,15 @@ function ctools_css_retrieve($id) {
  * Remove stored CSS and any associated file.
  */
 function ctools_css_clear($id) {
+  $cache = db_fetch_object(db_query("SELECT * FROM {ctools_css_cache} WHERE cid = '%s'", $id));
+  if (!$cache) {
+    return;
+  }
+
+  if (file_exists($cache->filename)) {
+    file_delete($cache->filename);
+  }
+
   db_query("DELETE FROM {ctools_css_cache} WHERE cid = '%s'", $id);
 }
 
diff --git a/js/modal.js b/js/modal.js
index 0f1124055bf9849e5ad24dcd6b5cac08d2b31bd5..f5260a61c09616d87e6a16f0a5af3218c189f2e0 100644
--- a/js/modal.js
+++ b/js/modal.js
@@ -132,7 +132,7 @@ Drupal.behaviors.CToolsModal = function(context) {
     $('form:not(.ctools-use-modal-processed)', context)
       .addClass('ctools-use-modal-processed')
       .submit(Drupal.CTools.Modal.submitAjaxForm)
-      .append('<input type="hidden" name="op" value=""');
+      .append('<input type="hidden" name="op" value="">');
     // add click handlers so that we can tell which button was clicked,
     // because the AJAX submit does not set the values properly.
     $('input[type="submit"]:not(.ctools-use-modal-processed)', context)