I think what you mean is that you have a record already stored in the database which you can view at anytime by clicking a button? And you can also edit this record but you can also click preview to view the edited record without changing the saved record - is this correct?
If so, you are probably better off storing the 'edited' text in a session variable and when you are happy with the text, saving it will update the record in the database.
That's if my assumption is correct of course!