Embedded document improvements

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+

@sandytrinh, could you please review, ready for a merge?
There's a function that does exactly as trueFalse which is available from linz.utils.asBoolean, should we use that instead of this local function?