enabled the close button with some style change