Use navigator.presentation instead