minor tweak to remove a popup using nav buttons