Description of the need In rich text editor in image details, users are allowed to click the insert or update button even if they do not have a file chosen.
Proposed solution You could block the "Update" button until an image is added or have a popup to notify the user that they do not have an image selected when clicking insert/update.
Additional information
Inserting an non-existent file:

Updating after a file is removed:

Recent comments
Trying to push it to upstream 🤞 https://github.com/drush-ops/drush/pull/6621
Using Drush 8 with php 8
Wow, thank you!
Using Drush 8 with php 8
Hi folks, I went ahead and ported all drush 8.x stuff to PHP 8.3 and completely ripped out the legacy Symfony 2 internals. You can check out the exact details of what was done in the PR...
Using Drush 8 with php 8