Clear the modifier string when focus is lost