How to display data directly without storing in database entered by user

how Can I display data in page by just entering the text from the user and without store this value inside the database?
Thus I m doing it from pop up window.

the workflow
when user click on edit button->pop up window open with multiline text input and a save button->when save button is clicked after filling the input field->the text entered should be displayed on the page where I made the section for that.

create and set the custom state of an element