Unable to identify object for mobile dialog/popup message - Mobile Automation Testing

Try adding this capability and do a mobile spy. if not working then try in appium by adding this capability and do the inspect element it will show if multiple activity is combined in that screen.

Capability Name: enableMultiWindows Value: true