public/build/static/application.js
function(title, message) {
            if (!message) {
                message = title;
                title = null;
            }

            return Dialogs.open(null, {
                "title": title,
                "message": message,
                "dialog": "confirm"
            });
        }
function(title, message) {
            if (!message) {
                message = title;
                title = null;
            }

            return Dialogs.open(null, {
                "title": title,
                "message": message,
                "dialog": "confirm"
            });
        }
function ( title , message ) { if ( ! message ) { message = title ; title = null ; } return Dialogs . open ( null , { "title" : title , "message" : message , "dialog" : "confirm" } ) ; }
Open a confirmation modal dialog

@param {string} title
@param {string} message
Open a confirmation modal dialog