Issue #18: Added listener to close popup on click.  Note that this is in core and should be
moved to be spatial memories specific at some point.