diff --git a/capsule-prototype/js/PopupPanelWidget.js b/capsule-prototype/js/PopupPanelWidget.js
index 83e0f6602a57d4a6d36712b5c8f5577868dae73e..9da37633b98a6cc717f3d091ebb9942ff4c262ee 100644
--- a/capsule-prototype/js/PopupPanelWidget.js
+++ b/capsule-prototype/js/PopupPanelWidget.js
@@ -926,7 +926,7 @@ PopupPanelWidget.prototype.createPopupContent = function (tag) {
             }
             deleteElement
                 .click(function () {
-                    window.app.rekall.Rekall('pubSub').publish('', {
+                    window.app.rekall.Rekall('pubSub').publish('alert', {
                         message: "Do you really want to delete this file from the project ?",
                         buttons: "yesnodelete"
                     });