When working within the canvas/properties the mouse is the primary tool and allowing a middle click would be an easy way to initiate the workflow.
Currently, middle button can be used for moving in the canvas area (click and hold) and closing it (click on the tab).