Pass all dependencies
Prevent errors if iframe for filepicker is dead
Post button takes into account required fields for the current composer but not all of them