Centered close button and made trigger click event listener bubble the event