But the day belonged to Hibs after what Gray described as "a great performance, fantastic result" that gives them "a great opportunity" to finish third.
"The level of consistency, the level of performance and the effort I'm getting from the players every single day in training and in games now is incredible and that's a reflection on 17 games undefeated, which is an incredible achievement," he said.
"Little incentives to try and change history in positive ways - it's probably a quote I've used a lot this season, but we've managed to do that several times and today was another opportunity to do that."
The home side, no doubt spurred on by Aberdeen's slip-up at Pittodrie, started the game on the front foot, with Mykola Kuharevich firing over in the first minute after being set up by Junior Hoilett.
Dundee arrived at Easter Road looking to secure back-to-back wins and slowly worked their way into the game.
A well-worked free-kick by Finlay Robertson gave top scorer Simon Murray an opportunity, but the in-form striker was denied by a fine save from Jordan Smith in the home goal.
With play swinging from end to end, Kuharevich's shot came back off the base of the post.
The breakthrough did come after 25 minutes, Martin Boyle's corner to the near post finding Bushiri who was on hand to hook the ball into the top corner.
Into the second half, traffic continued towards the Dundee goal and number two arrived when substitute Bowie finished off a stunning move involving Jordan Obita and Lewis Miller.
The victory was sealed with just over 10 minutes left when veteran striker Gayle, also off the bench, showed magnificent composure when curling a low right-foot shot just inside the post.
The Hibs fans wanted more and were duly rewarded as Nicky Cadden's wonderful cross was headed home by Bowie.