Removed the data toggle and data target fields for button because they trigger the modal. Added js confirmation alert for deletion.