FIX: Modals weren't closing when routing to raw links