anchor.diff:        if (dojo.full) {
           cd.dialog(dojo.full_dialog_html, 'start', 'ok').dialog('open');
         } else {
  -        startDialog('start', id, dojo.avatar_name, dojo.start_dialog_html);
  +        startDialog(id, dojo.avatar_name, dojo.start_dialog_html);
         }
       });
     });
  
positive.code:     $('<div class="dialog">')
        .html(dialogHtml)
        .dialog({
          title: cd.dialogTitle(title),
          autoOpen: true,
          width: 350,
          modal: true,
          closeOnEscape: true,
          close: function() {
            okOrCancel();
            $(this).remove();
          },
          buttons: {
            ok: function() {
              okOrCancel();
              $(this).remove();
            }
          }
        });
    };
  
  
negative.code: 
  $(function() {
  
    var startDialog = function(id, avatarName, dialogHtml) {
      var url = '/kata/edit/' + id + '?avatar=' + avatarName;
      var okOrCancel = function() {
        window.location.href = cd.homePageUrl(id);
  