only step through grep if grep window is visible