created a shadow field for title , so that if the user closes the page while editing, the title is not affected, only the shadow is change which gets discarded.