Fix chat alert dismissal

Properly removes the dark background when closing the modal.