debug open box on click