Fixed an error after manual canceling Find-in-files dialog.