The previous implementation did not support saving categories in view form. It is better to use standard Base_edit in view forms and put actions which are other than "save" into a dialog.