simplify check for editable div