adds jquery ui confirmation box to delete functionality