Added "Delete" Button to chat and fixed the reverse filter

I found the documentation on deleting items difficult to understand so I
thought I’d contribute this example.