add customization of close button line width