anchor.diff:  
   $(function() {
   
  -  var startDialog = function(title, id, avatarName, dialogHtml) {
  +  var startDialog = function(id, avatarName, dialogHtml) {
       var url = '/kata/edit/' + id + '?avatar=' + avatarName;
       var okOrCancel = function() {
         window.location.href = cd.homePageUrl(id);
  
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:       if (dojo.full) {
          cd.dialog(dojo.full_dialog_html, 'start', 'ok').dialog('open');
        } else {
          startDialog(id, dojo.avatar_name, dojo.start_dialog_html);
        }
      });
    });
  