Publishing results in two windows; why?

And both windows tell me that the file was published - and I can either close the pop up or visit my site. But, why have two windows with identical functionality?

For the notification in the upper right corner, you can turn that off in the Notifications settings in System Preferences.

Excellent - thank you.
Brian