bind event to 'Add friend' button.