feat #718 option to use `referenceId` in `@touch:Dialog`

Close #718. Close #726.