added character limit logic to edit term page