Call dismissAllModals completion handler after the dismissal has actually completed (#6671)
Call dismissAllModals completion handler after the dismissal has actually completed (#6671)

* Call dismissAllModals completion handler after the dismissal has actually completed

This moves the call to the completion handler to a later time. Instead of relying on the completion of the CATransaction, we are now waiting until [UIViewController dismissViewControllerAnimated:completion:] calls back

* Removed CATransaction from dismissModal

This is no longer needed as we have another completion handler

Co-authored-by: Yogev Ben David <2fb34393fbef7abdf91dee46e8af513fb02a3fb3@gmail.com>
wix/react-native-navigation,3sidedcube/react-native-navigation,wix/react-native-navigation,wix/react-native-navigation,wix/react-native-navigation,wix/react-native-navigation,3sidedcube/react-native-navigation,3sidedcube/react-native-navigation,3sidedcube/react-native-navigation,wix/react-native-navigation