Modal layers for PHP applications