There have been a lot of posts about how to prevent this and unfortunately people keep failing to compose their poems and save them BEFORE submitting them on this site.
The other thing you can do is to download and install Firefox on your computer. Then use it as your browser. It saves your text in case you get logged off before you submit it. But it is still best to save your work first and then copy and paste it here.