If I'm doing something and someone comes up wanting to talk, I will raise my finger and say "Just a minute" and finish whatever had me occupied so I could finish my thought process. Also, if someone is doing something and I see they are about to screw up or I have a better way to do it, i might say "Just a minute, what if you did XYZ instead?"