Fixed crash when opening axis dialog

Refs #8198