Make confirm and delete work on dynamically loaded html.