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

I would prefer to call this `nullToEmpty` to make it obvious.