@ControlAltDel why use a promise here? The issue is waiting for user input...so you can just handle the relevant UI event to know when the code needs to continue. Not sure how a Promise would add value in this case? Have you got an example?