Pressing tab keys will now keep the focus within the modal window. This aids accessibility and helps prevent users from interacting with elements behind the modal.