properly handles buttons with formmethod=dialog2ms ‣
var request = false
this.server.respondWith('POST', '/test', function(xhr) {
request = true
xhr.respond(200, {}, '<button>Bar</button>')
})
make('<dialog><form hx-post="/test"><button id="submit" formmethod="dialog" name="foo" value="bar">Submit</button></form></dialog>')
byId('submit').click()
this.server.respond()
request.should.equal(false)