handle delete key only if target isn't on a input or text area element.