tapOutsideToDismiss

When true (the default), tapping on the dim background outside the modal content calls navigateBack. The dim layer always captures all taps regardless of this flag, preventing clicks from passing through to screens behind the modal.