I haven't tied your suggestion yet as I am in the process of debugging code, but when I used the solution I posted focus is indeed in/on profit. However the only way that I have discovered to get it out of focus is to place the cursor in a field of a new record, both enter and tab do nothing.
Will your suggestion leave the record where enter or tab works?