Empty literals or resources means delete triple

When a literal widget or resource widget gets emptied, the according
triple will be deleted (instead of being saved with an empty value or, in case
of the resource widget, displaying an error).