Fixes #3337 : correct the updates of Directive in case of error to allow the dependants popup to show up
Merge pull request #137 from ncharles/bug_3337/dev/correct_popup_in_directive_form

Fixes #3337 : correct the updates of Directive in case of error to allow...