Documentarray fixes

This PR improves the following scenarios related to editing embedded documents:

- [x] Hitting enter on a form field, no longer shows the embedded document modal
- [x] Embedded documents within configs are saved with defaults applied
- [x] Modal pop ups are now working in IE 9+

Could you please review, ready for a merge?