Add support for in-dialog REFER