Pop-ups on our screen are a big distraction, if you’re concentrating and a notification pops up, that distraction can take you nearly thirty minutes to recover from. (Based on research from University of California Irvine)
Checkout this article that links to the study.
If you’re serious about getting through your to-do’s in an efficient and a more issue free manner, then switch off your notifications and snooze the instant messages.
Switch of your instant chat notifications for the day, see how much better you are able to stay focused on your tasks.