Avoid multiple attached event on ok button of the popup close #5