Close white box on click out