Fix re-creation of resources on edit

Fixes #67
Merge pull request #69 from literarymachine/drupal_modules

Fix re-creation of resources on edit