implementing modal form to send invite to a friend