Close panel on overlay click.