I use Microsoft Word for writing anything (apps, posts, etc). If you happen to click the "close" button, it will ask you, "are you sure?". Problem solved. :D If you don't have Microsoft Word, I supposed notepad or wordpad could work.