addRestaurant functionality added to modal in index.php