Make dialogs launched from script interpreter use default values.

Refs #7744
Make custom dlg for SmoothNeghbours disable properties specified from script.

Small cosmetic fix touching dialog run from scripts as well, so done in this ticket.

Refs #7744
Merge remote-tracking branch 'origin/bugfix/7744_script_dialog_defaults'