Close gallery when clicking in the <body>