ensuring that modal text is properly closed.
fix for modal nav and comments on the noms