My update to allow navigation between multiple modals.