I seem to be having a problem with the trash. Whatever I drag to the trash icon on the dock does not go into the trash at all. Instead a window opens asking if I am sure I want to delete the item and when I then click delete it is deleted all the same. Previously however the items went into the trash, you could see on the icon that something was in there and I could then decide later if I want to delete it permanently or have it restored.
Any ideas how I can restore it to work as before?

Any ideas how I can restore it to work as before?