Trigerring in cq:dialog
Can I trigger this clear button

using javascript that has a category of cq.authoring.dialog?
I'm trying to achieve something like
$(document).on("click","slide2", function (e) {
// tab3 file clear triggered.
})
So when I click my slide 3 again, it sould be empty.