Prevent middle-clicking the close icon from opening a new tab