Add view mode for definition or value editing.