postEdit: Generate close button with CSS instead of HTML