added alert when esc is pushed and there is text added to the comment editor