I am working on a Java application and there is an expected popup which might come anytime between a number of steps on the same screen. On the screen we need to update 10 values and the popup does not come every time but it might come after any step...