In Content Editor, can you warn the author if they are about to close without saving?

Subject line says it all. If you create a content item and fill in everything and then click “Close” it automatically closes the screen without warning. Anyway to detect this and confirm the author really wants to do this?