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
Hi Francis I think most browsers have become more aggressive about caching images (and other files - I recently had a real pain getting Chrome to re-read the .htaccess file) locally. If...
Images on Pages and Blocks not refreshing
Well here I am 7 years later with the same problem which I have been living with all that time. I am using the Brave and Firefox Browsers to test this being a Linux User. I have gone over...
Images on Pages and Blocks not refreshing
OMG thank u... you are amazing.
Hiding Blocks for Small Screens