now able to delete a message and show the timestamp in alert