added the find counter and find function that takes a counter param and brings up either the find or the find and replace window