Footnote popup persists on file change

Steps to reproduce

  1. Create a footnote, keeping the popup open
  2. Switch to another note
  3. The popup is still available, and the note can still be written to

Expected result

The popup closes as it is no longer related to the visible note

Actual result

The popup remains

Environment

SYSTEM INFO:
	Obsidian version: 1.14.5
	Installer version: 1.14.5
	Operating system: 7.2.11-arch1-1
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 1
	Restricted mode: off
	Plugins installed: 6
	Plugins enabled: 3
		1: Templater v2.20.6
		2: Image Toolkit v1.4.3
		3: Scroll Offset v1.0.4

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

LINUX ONLY: 
Distro Name: Arch
Kernel Version: 7.2.11-arch1-1
Desktop Environment: KDE
Installation method used: Appimage

Additional information

This also occurs on Android