editor: Cancel blame popover task when opening modal (#52525)

Update all direct calls to `Editor::inline_blame_popover::take` to now
be calls to `Editor::hide_blame_popover` as this ensures that the
popover is also not shown in case its task still hasn't finished.

This fixes a bug where the inline git blame popover could be shown even
after the user had opened a modal. 

Release Notes:

- Fixed the inline Git blame popover sometimes appearing after opening a
modal.

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
34dae654bcTim Vermeulen committed on 4/20/2026, 12:31:48 PM· committed by GitHubparent4fbac78
3 files changedLine totals unavailable