fix a few issues when using shortcuts on firefox

Fixed https://bugzilla.redhat.com/show_bug.cgi?id=1150373#c9:
- tab on untranslated entry will trigger a save
- tab on last entry will trigger an error

Wouldn't it make sense to just swap these around?

Then you only need `if(needToSavePhrase(phrase))`?