adds nb-hidden event for popup

Fix for #173