Model: fix errors in saveAndUnload

1. $id wasn't defined.
2. can use save() because all logic is already there. Just add unload() at the end.