PM: track keydown (enter) vs click. fix tests