fixed close button in details dialog