Fix native/wrapped dialog objects uses.