Collapse navbar when showing modals on mobile

Closes #6