This seems like a good place to use .on will save some anonymous functions: Something like:

```
modal.find( '.sample-avatars' ).on( 'click', 'li', function( event ) {
  UserProfilePage.sampleAvatarChecked( event.target );
});
```