Replaced the navigator.notification.confirm dialog with a custom view