How to get popup window before empty gnome trash in Ubuntu

We have already discussed how to empty gnome trash from command line this will delete all the contents without prompt any warning this tutorial will explain how to get popup window before empty gnome...