v3: fixed error opening dialog only when is a java_condition