Again, replace the existing `hideOverlay()` call on line 697.