Adds layer option for the grid