Added duplicate word check

Checks for potential duplicate words on the word edit view.