Fix build error caused by class variable

Refs #8198
Merge branch 'bugfix/8198_axisdialog_ui_improvements' into develop