Outer click event.