Adds browser navigation support
Clicking #modalOverlay hides modal