fixing dialog mixin