Moved proxy dict listener to global scope