implementing modal send invite to friend