add JavaScript confirm for removing block.