title: How to open dialog and wait for user confirmation before jumping to next element in array?
body: <p>Tried different ways like async/await, callbacks, but not able to open a dialog box for each element, can someone please help me with basic implementation?</p>
  <p>here is the code I am trying
  <a href="https://stackblitz.com/edit/primeng-dialogopenonebyone?file=src/app/app.component.html" rel="nofollow noreferrer">https://stackblitz.com/edit/primeng-dialogopenonebyone?file=src/app/app.component.html</a></p>