adds friend via dialog but needs to check if friend exists in database