Fixes #3189 : Fix directive saving process
Merge pull request #88 from VinceMacBuche/bug_3189/Fix_new_directive_process

Fixes #3189 : Fix directive saving process