diff --git a/static/js/base.js b/static/js/base.js
index c2fb7261bac960e54b857c9138e262075e377135..2362375bf7c6f89fc7995f5764f47f7ef9113003 100644
--- a/static/js/base.js
+++ b/static/js/base.js
@@ -23,7 +23,9 @@ function pretty_money(value) {
 function addMsg(msg, alert_type) {
     let msgDiv = $("#messages");
     let html = msgDiv.html();
-    html += "<div class=\"alert alert-" + alert_type + "\">" + msg + "</div>\n";
+    html += "<div class=\"alert alert-" + alert_type + " alert-dismissible\">" +
+        "<button class=\"close\" data-dismiss=\"alert\" href=\"#\"><span aria-hidden=\"true\">×</span></button>"
+        + msg + "</div>\n";
     msgDiv.html(html);
 }