luci-base: prevent empty field for adding new entry