text: check action on modify if the text has been changed