Changed .click to .on('click'..
Revert "Changed .click to .on('click'.."

This reverts commit efc8328401379211476d284fcd63747555b729bb.
Changed .click to .on('click'...
Added modal confirmation

Taken from http://heera.it/bootstrap-3-delete-confirm-dialog