What's the dot in the centre of the red window close button for?
Specifically, it means that hitting that button will produce a prompt rather than immediately performing the action of closing the window. While this is usually a save dialog, it could be anything requiring further user action.

In this sense, it is equivalent to ellipses on the ends of menu entries.