Just from a quick glance I'd say $input() might be a suitable alternative for those 2 extra dialogs for adding and deleting; if it works it works, if not then no BFD ;]. Just a suggestion.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.