diff --git a/media/boom/js/boom.tests.js b/media/boom/js/boom.tests.js
index <HASH>..<HASH> 100755
--- a/media/boom/js/boom.tests.js
+++ b/media/boom/js/boom.tests.js
@@ -451,6 +451,10 @@ asyncTest( "chain done callbacks using a deferred object", function(){
 	});
 	
 	$( '.ui-dialog-buttonpane button' )[1].click();
+	equal(
+		$( 'div[role=dialog]').length,
+		0
+	);
 	
 	
 	
@@ -472,6 +476,10 @@ asyncTest( "chain fail callbacks using a deferred object", function(){
 	});
 	
 	$( '.ui-dialog-buttonpane button' )[0].click();
+	equal(
+		$( 'div[role=dialog]').length,
+		0
+	);
check that dialogs close after buttons are clicked