close menu on click document