'cDlg is a Custom Dialog
cDlg.ShowAsync(mName.Trim, "Close", "", alertText, LoadBitmap(File.DirAssets, "ic_info_outline_black_24dp.png"), True)
cDlg.SetSize(100%x, 405dip)
Wait For Dialog_Ready(pnl As Panel)
pnl.LoadLayout("popup")
Wait For Dialog_Result(res As Int)
If res = DialogResponse.NEGATIVE Then
If alertText = "Set Alert" Then CallSub3(Starter, "setAlert", mIndex, mTimeLeft * 1000) Else CallSub2(Starter, "cancelAlert", mIndex)
End If