In my Project (which is a rich-client based on CaptainCasa), I have learned that in man locations, I have to check if a certain condition is given, if so ask the user if he really wants to do something, and if the user selects yes, to do ist. If the condition is not given, the action is done without asking immediately.