commented out modal reference code