x-dialog fix