Fixed crash when opening axis dialog

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