Add function to get session setting and wire it up most of the way.
Intercept to get a couple more and use in initial dialog.