Actual behavior
When I try to delete any entity in the metadata editor I click Delete and enter the wrong key in the popup, I see an error as expected ("The key do not match"). But if I cancel the popup and click Delete again, when the popup reopens, the error ("The key do not match") is still showing.
Expected behavior
No error should be shown because the input field is now blank.