Further improved editor

Details: 
- Matching modal box style
- Affiliations and author editor is now working
- References editor
- Defaults for empty elements