Yes, I meant to use popup:close but only on a rectangle just covering the button that initially opened the popup. No need for (lock) from my point of view.
If you like you can place it above the popup layer content covering it, but that wasn't my idea, and this would not allow the user to select the layer content.
You could also use a placehoder with position:fixed covering the full browser window.
Bookmarks