Fixed data-preventclose bug