removing propagation of close button to parent div