restore confirmation dialog on delete button

- as it was in rev. e7cafadcc3d55962427d18f047e1d14f1f409bb5 (for example)