add alert messages for close button