Adds confimation for blocks deletion to trashcan.

Refactoring existing code

Change-Id: I5b1e1c7f44bce02a421ce7b7dd2160fae7ae34ba