Changes for RM Dialog

Changes for RM dialog and backend infrastructure.