Earlier, when I used to run unity in Ubuntu 14.04 gnome-terminal asks conformation dialog if any process is running in the shell when I click on close button as follows:

But now I am using xfce4-terminal after installing the xubuntu-desktop environment in Xubuntu. And one problem is that in spite of processes running inside the terminal, it closes immediately while clicking on the close button instead of asking by confirmation dialog!
Consider I'm installing packages by apt-get and by-mistake if I click on close button then terminal close without confirmation! This does not seem OK.
So, is there any way to enable such type of confirmation dialog in xfce4-terminal?
