once the 'x' button is clicked, have a pop-up appear that says 'Are you sure you want to delete chat with (insert user's name here)'?
on the pop-up, also include two buttons, either ('yes', 'no') or (checkmark, x) that lets a user pick what they want to do. if they pick 'yes', then that actually deletes the chat (derek is currently working on this function). if they pick 'no', just get rid of the pop-up