work on data binding for er detail modal.