Merge "Fix Dialog default callback registering at the wrong priority." into tm-qpr-dev