set a flag when the ace editor is attached