fixing modal window having pullout carousel navs when no children bug