Modal window in a loop causing it to disappear after shown



Good day! I am new to Ionic so please go light on me if this is really a silly question. :slight_smile: I am trying out modal window in a loop. What I have noticed and so you will see is, randomly the modal window pops up and disappears causing the app to look like its unresponsive.

I have tried to look up but in vain. Please let me know if I have done really silly to cause the above.

Here is my codepen for your evaluation. Any help would be greatly appreciated!

Many thanks in advance.