Good call to hung up!
That browser tab came from a malicious ad (that Facebook should remove) and has nothing to do with your computer. Microsoft would never produce such a popup. If you had downloaded that app that would have been very bad for you computer. (And possibly also for your financials.)