Fix: File dialog is opened twice with Firefox >22