Fix saving of xmodule editors.