XKill is a simple utility for removing windows or applications that have become "stuck" or are having similar problems.
If you can't close a window by normal means, select XKill and kill that window by just clicking on it with a cursor.