Modal.confirmDelete() returns promise #2487

This allow us to code extra step if deletion is confirmed.

Also the dialog now tries its best to guestt the object name if
no label is supplied.