Fixed a bug in the editor. Buttons load proper editors.