Provide datagrid id to dialog functions to get ride of reloading data