Added Editable type class

Instead of allowing editings of data objects only through dialogs,
we can generalized to use an implementation-unspecific type class.
Editing and adding data therefore is no longer linked to dialogs.