Perhaps a bit similar, I worked on a desktop application that might throw several warning messages when saving a record. What I did was, when clicking the save button, to check if any of those warning messages popup appeared, if so, I will pre-program which button to click (e.g. ok, cancel...