Theme:
Popup:
the lookup has a custom SearchForm, in that custom view there's a Create button which calls a PopupForm,
for the editing/deleting a custom Item template is used for the lookup so that each item in the list has an edit and delete button,
the edit/delete button calls a PopupForm as well,
create and edit PopupForm have success js function attached which receive from the server the rendered row and after it appends/update the list with it