To add the words to your dictionary, right-click the red dotted word, it gives you the option to "Add to Dictionary". This will remove the line from the word moving forward:
Step 1: Right-click the dotted word
Step 2: Select 'Add to Dictionary' from the pop-up menu.
Step 3: All the other dotted lines are removed from the word.