Using the onkeypress event because, onchange event fires only when the textarea loses the focus, that means, user have to get out of the textbox. But what if user closes/ refreshes the browser while still on the textarea, the onchange event won't be fired then and `window.rezPageSaved = false;` never happens. If it didn't happen, then prompting to save would not happen.