dispatch.on(".foo") now returns the first match.