add new layer to dim the brightness of the photo layer when button is pressed