AdS2 holography and ModMax