Hide menu when clicking outside.