click: function() {
    var dialog = this;
    if ($('#deleteProcessReason').val() == '') {

I enjoy seeing unlocalized errors in languages other than English. I'm not saying it's right, but turnabout's fair play. Too often I "protect" a condition that "should never happen" with a quick English blurb -- I'm good about not doing that at work, as we have a pretty robust localization workflow, but the stuff I do "for myself" has a number of throw new Exception("Here's some Anglais pour vous"); examples -- and it's fun to see what that really means when it's put into context with something like this code.