added if condition as well as abilty to open new document
removed the personal content
Merge pull request #3 from jaycdave88/closing_new_terminal

Closing new terminal