After pressing dismantle there should be something that pops up to ask if you really want to dismantle the structure.

I have not dismantled anything by mistake yet, but i did destroy a couple things by mistake before dismantling was added.