Fix missing dialog emptying the trash in Firefox 23+

https://bugzilla.mozilla.org/show_bug.cgi?id=394144