Add delete ticket function to message view