Prevent event propagation on delete metadata

* When a metadata item is deleted from the listing, we
have to stop/prevent event propagation else the dialog
will transition into edit mode.