How to work with System Dialog box (Which is appear from bottom of screen in iOS) in iOS

Hi,

I want to capture xpath for system dialog box which is appearing from bottom of screen in iOS. I am trying to capture xpath in Appium desktop but before I capture system dialogbox disappear.

Any idea how I can work?
Refer to screen capture.


Also I want to perform action on particular item, but while running system dialog appear and disappear. doesn’t wait. So how I can automate.