Show popup and wait for result

Ionic newbie here…

I’m working on a relatively simple app which retrieves data from some webservices, displays and allows users to update. It’s actually a redevelopment of a Basic4Android app.

I require the user to enter a series of values, the number and type of these may vary depending on other selections. My intention was to use the ionicPopup to do this. However, I need it to wait for the user to either enter a value or cancel before execution continues.

I’m assuming I need to somehow wait for the promise(s) to complete, but not quite sure how to do this?