Quote Originally Posted by Lou Sander View Post
You close the map by clicking anywhere on it.
If you have used (lock) appended to the layer name, this prevents the layer from closing unless you link popup:close to an object on that layer, clicking will then close that layer.
This appears to be what you have done.
If you don't do any of this, then the layer will still popup as required, but will disappear as soon as you click anywhere else. This seems to be what you want.
So remove the (lock) from the layer name and your magic will happen.