add klassAttribute using ENTER and set focus correctly