It's happened to us all: You're poised to go to sleep, but a "digital distraction" keeps you up hours later than planned.