Added button click event listener and Ajax request for delete