Close window with middle mouse button in Expose
You can use BetterTouchTool.


Add a new button in Global for Normal Mice.
Set Middle Mouse Button.
Choose Predefined Action: ‘Close Window Below Cursor (Works in Mission Control)’.