Prevent delete button from activating when Enter is pressed.

While form data is invalid, the Save button is disabled, which causes the enabled Delete button to trigger when Enter is pressed.