Sometimes when one is using any app, almost at the moment when one is going to click or push key "enter", a window appears in a "pop-up style" related to another app (example : dialog of updates) and with all the momentum in the fingers, one finishes pushing "accept" over the popup window and not the planned app. Most cases are not critical, but they can consume some of time.

Is there some home-made or professional solution for this?