diff -urp imagebrowser/imagebrowser.module imagebrowser2/imagebrowser.module
--- imagebrowser/imagebrowser.module	2008-12-03 21:57:44.000000000 +0000
+++ imagebrowser2/imagebrowser.module	2008-12-05 20:15:18.000000000 +0000
@@ -645,6 +645,18 @@ function imagebrowser_form_alter(&$form,
     $form['buttons']['submit']['#submit'] = array('imagebrowser_form_submit');
     unset($form['buttons']['delete']);
   }
+  else if($form_id == 'views_exposed_form') {
+    $form['header'] = array(
+      '#type' => 'hidden',
+      '#prefix' => '<h2>'.t('Filter').'</h2>',
+      '#weight' => -10
+    );
+    $form['footer'] = array(
+      '#type' => 'hidden',
+      '#suffix' => '<a href="#" class="button apply">'.t('Apply').'</a><a href="#" class="button close">'.t('Close').'</a>',
+      '#weight' => 100
+    );
+  }
 }
 
 /**
diff -urp imagebrowser/js/imagebrowser.js imagebrowser2/js/imagebrowser.js
--- imagebrowser/js/imagebrowser.js	2008-12-03 21:57:44.000000000 +0000
+++ imagebrowser2/js/imagebrowser.js	2008-12-05 20:15:18.000000000 +0000
@@ -64,12 +64,12 @@ function ib_prepareLinks() {
         var node = $(this).attr("href");
         $("#insert > .details > .options a").fadeOut('slow');
         $("#insert > .details > table").slideUp('slow', function() {
-          $("#insert > .details").append('<div class="confirm"><p>Are you sure you want to delete this image?</p><a href="#" class="button delete_confirm">Yes, Delete</a><a href="#" class="button cancel">No, Cancel</a></div>');
+          $("#insert > .details > .confirm").fadeIn('fast');
           $(".confirm").fadeIn('fast');
           
           $(".cancel").click(function() {
             $(".confirm").fadeOut('fast', function() {
-              $("#insert > .details > .confirm").remove();
+              $("#insert > .details > .confirm").fadeOut('fast');
               $("#insert > .details > .options a").fadeIn('slow');
               $("#insert > .details > table").slideDown('slow');
             });
@@ -144,12 +144,10 @@ function ib_get_messages() {
 function ib_format_filters() {
   $(".views-exposed-widgets > div:last-child").appendTo("#views-exposed-form-ib-browser-default").addClass("footer");
   $("#views-exposed-form-ib-browser-default > div:first-child").addClass("wrapper");
-  $("#views-exposed-form-ib-browser-default").prepend("<h2>Filters</h2>");
-  $("#views-exposed-form-ib-browser-default > .footer")
-  .append('<a href="#" class="button apply">Apply</a>').click(function(){
+  $("#views-exposed-form-ib-browser-default h2").prependTo("#views-exposed-form-ib-browser-default");
+  $("#views-exposed-form-ib-browser-default > .footer").click(function(){
     $(".view-filters > form").trigger('submit');
   })
-  .append('<a href="#" class="button close">Close</a>');
 }
 
 /**
diff -urp imagebrowser/theme/window.tpl.php imagebrowser2/theme/window.tpl.php
--- imagebrowser/theme/window.tpl.php	2008-12-01 22:20:43.000000000 +0000
+++ imagebrowser2/theme/window.tpl.php	2008-12-04 22:58:06.000000000 +0000
@@ -18,7 +18,7 @@
     <div id="insert"></div>
     <div id="edit"></div>
     <div id="messages">
-      <h2>Messages</h2>
+      <h2><?php print t('Messages'); ?></h2>
       <ul class="log"></ul>
       <div class="footer"><a href="#" class="button close">Close</a></div>
     </div>
diff -urp imagebrowser/theme/window_insert.tpl.php imagebrowser2/theme/window_insert.tpl.php
--- imagebrowser/theme/window_insert.tpl.php	2008-11-23 20:22:11.000000000 +0000
+++ imagebrowser2/theme/window_insert.tpl.php	2008-12-04 22:58:06.000000000 +0000
@@ -6,7 +6,7 @@
  * Template for Image Browser's insert window.
  */
 ?>
-<h2>Insert</h2>
+<h2><?php print t('Insert'); ?></h2>
 <div class="presets">
   <?php print $presets; ?>
   <div class="spacer"></div>
@@ -37,6 +37,10 @@
     <a href="<?php print $edit_link; ?>" class="button edit"><?php print t('Edit'); ?></a>
     <a href="<?php print $delete_link; ?>" class="button delete"><?php print t('Delete'); ?></a>
   </div>
+  <div class="confirm">
+    <p><?php print t('Are you sure you want to delete this image?'); ?></p>
+    <a href="#" class="button delete_confirm"><?php print t('Yes, Delete'); ?></a>
+    <a href="#" class="button cancel"><?php print t('No, Cancel'); ?></a></div>
 </div>
 <div class="footer">
   <a href="#" class="button close"><?php print t('Close'); ?></a>
