Working on edit category in modal context