fix #718 Touch:Dialog widget and domReference attribute