use php to generate modal divs