triggering event when close is clicked.
added box shadow to style.