Add focus-empty hook to command text