anchor.diff:        }
       });
     }
  +  
  +  void focusElementByQuery(String query) {
  +    _dialog.$element.on('shown.bs.modal', (DQueryEvent e) {
  +      Element element = e.target;
  +      element.querySelector(query).focus();
  +    });
  +  }
   }
   
   class FileOpenInTabAction extends SparkAction implements ContextAction {
  
positive.code:           "Are you sure you want to delete ${_resources.length} files?";
      }
      
      _dialog.$element.on('shown.bs.modal', (e) {
        e.target.querySelector("#deleteOkButton").focus();
      });
  
      
      _dialog.show();
    }
  
    void _commit() {
      _resources.forEach((ws.Resource resource) {
        resource.delete();
  
negative.code: import 'package:chrome_gen/chrome_app.dart' as chrome;
  import 'package:chrome_gen/src/files.dart' as chrome_files;
  import 'package:logging/logging.dart';
  import 'package:dquery/dquery.dart';
  
  import 'lib/ace.dart';
  import 'lib/actions.dart';
  