Find/Replace dialog remains visible if not found...

message shown. Cleaned up code.