I kept getting the overlay message too, which drove me nuts. I figured out it only happened to me when I had one of my active notes open and up at the top of the screen. As long as I closed it first before trying to allow the permissions, the overlay message completely went away, and I stopped getting it.