anchor.diff:  
     const makeInput = (name, filename) => {
       const input = $('<input>', {
  -      type: 'text',
  -      id: name+'-filename',
  +        type: 'text',
  +          id: name+'-filename',
         'name': name+'-filename',
  -      value: filename
  +       value: filename
       });
       if (name == 'delete') {
         input.attr('disabled', 'disabled');
  
positive.code:     // get dialog title from button that launched it.
      const title = originator.text();
      const name = title.split(/\s+/)[0];
      // input element shows filename which may or may not enabled
      const input = makeInput(name, initialFilename);
      // dialog has ok and close buttons
      const ok = {
        text: 'ok',
        id: 'file-ok',
  
negative.code:         $(this).remove();
        }
      };
      // dialog has a [close] button
      const cancel = {
        text: 'cancel',
        click: function() {
  