* Warn if the title is a duplicate
* warn when copyOnSave is checked. add a test
* update message
* fix tests
* Fix issues with substring matching
add more tests.
* make case insensitive and return matching title
* Fix bug caused by subtle difference between this.type and type
Add a comment and rename one of the variables to make the distinction
clearer.
* add debug messages.
* fix tests again
* uncomment out tests
* more debug messages
* save more screenshots
* Need to wait till save finishes or the page may redirect the url after the page has navigated away
* address code review comments