- added correct close/open behaviour for editors that use a dialog view
 * added auto registration of sub apps main menu items (hierarchy and code editor)
 * added reopening of dialog

- other small cleanups here and there
updated/ added various app structure and/or ui schematics