Do not load file if clicked with the middle mouse button