Show alert only if there are words to avoid

we showed words to avoid alert on initial page load or when switching back from markdown preview even when there were 0 words to avoid. fixed that.