# Improve modal handling: Intercept browser back navigation to dismiss active modals