When using a mouse with a back button, the modal won't closed if the button is clicked on the overaly.
When a modal is opened we click the back button on the gray overlay, it closes the modal first (click event that triggers modals onclose navigation route) then it re-opens it (native "back" functionality) b/c the modal is no a route, so i was very confused as to why the modal wasn't closing when navigating back
When using a mouse with a back button, the modal won't closed if the button is clicked on the overaly.
When a modal is opened we click the back button on the gray overlay, it closes the modal first (click event that triggers modals onclose navigation route) then it re-opens it (native "back" functionality) b/c the modal is no a route, so i was very confused as to why the modal wasn't closing when navigating back