Class for internal item editor

Qt item editor model is not flexible enough.

Use separate class and ignore default requests to create editor in Qt
classes.

New editor is more persistent when adding or removing items.

Ask user to discard unsaved changes (if any) before closing editor.

Close editor without asking if edited item is removed.