Dialog is a shell command usually used for letting the user choose things. For making the cursor track the current selection, you should add to your .bashrc:
DIALOGOPTS="--visit-items" export DIALOGOPTS
or to make it more global, edit /etc/dialogrc or ~/.dialogrc:
visit_items=ON