Actual behavior : if you go on an image and click the "Delete Image" button, hitting keyboard "Enter" will delete it, but the modal will still be displayed. Hitting the remaining modal button "Yes, delete this image" will result in a "Error deleting image ", but image has been deleted.
Desired behavior : hitting "Enter" should hide the modal and proceed accordingly.
Actual behavior : if you go on an image and click the "Delete Image" button, hitting keyboard "Enter" will delete it, but the modal will still be displayed. Hitting the remaining modal button "Yes, delete this image" will result in a "Error deleting image", but image has been deleted.
Desired behavior : hitting "Enter" should hide the modal and proceed accordingly.