When a modal is open and the user uses the browser "back" button or "back" keyboard shortcut, close the modal.