Show function help in on demand dialog

Closes #1790