close document by clicking tab with middle mouse button

Looks like ONMOUSEDOWN now falls through to ONMOUSEMOVE - intentional?