Here in the constructor you save the references to the storage and template:
```javascript
var AddressBookDialog = function(storage, $template) {
    this.storage = storage;
    this.$template = $template;
};
```
I prefix jQuery objects with `$` so that you know later on you don't have to jQuery wrap the again with e.g. $(template).