z-index fix on NPC popover dialogs