NXP-12263: add wait functions and postRestore callbacks to safeEdit
NXP-12345: Cleanup old preview widget
NXP-12345: Add link to display attachment preview
NXP-12212 remove Business delegates to inject Nuxeo Services
NXP-12263: move safeEdit init at the end of the form