Names of form button
It seems that the name "Cancel" of the button to cancel the modification and close the popup creates confusion with the "Cancel" button of the document workflow.
I think we could maybe rename the buttons as: "Cancel & Close" and "Delete & Close".