Add mouse click handler.