Included a wgrid focus function in the dialog parameters