Code review for delete button.
Brought model update back into main.js.  Not tested yet.