Summary: If you drag text onto the TextEdit Dock icon from another application, such as Safari, it creates a new TextEdit document. However, the new document is not marked as dirty, so if you close the window or quit TextEdit, it won't ask you to save, and the new document will be lost. Steps to Reproduce: 1. Select some text in Safari. 2. Drag selected text onto TextEdit Dock icon. Expected Results: New dirty document is created in TextEdit. Actual Results: New non-dirty document is created in TextEdit. Regression: This bug did not occur in Mac OS X 10.4. It also doesn't occur if you create a new empty TextEdit document first and then drag the text into the document; then it's marked dirty.