Optional change reason only for editing

The user will be prompted to enter a change reason only when editing a
resource via the context menu or the inline mode but not when creating or
cloning a resource.