return id and inserted/updated info on save
add some ui classes

• remove trailing spaces