move commons dialog form code to Editors.js