saving a file moved you to the last tab, closes #42