Are the Door and Modules dictionary in the same container? If not, then you need to pick the correct dictionary instance before comparing keys. But it would be easier to combine them into a container.
(I can't open your project, as it uses some plugin I don't have.)