dialog fix
file api