start edit gloss functionality
GlossInputDialog.as_gloss should always be of Gloss type
refactor form editing dialog (issue #10)