In multiselect control, when user click delete icons of a selected value , it should alert confirmation message and based on user input "Yes" , "No" it should delete the selection or cancel it.
I tried as below, it shows confirmation popup but is not waiting for user confirmation
$(".k-delete").click(function (e) {
//window.event.cancelBubble = true;
//e.stopPropagation();
currentSelection = s.value()
$("#dlgDeleteSecFromAnalyst").html("Are you sure you want to remove.. clicked.");
$("#dlgDeleteSecFromAnalyst").dialog("open");
})