Fix #208: closing the lasercutters/materials dialog deleted all entries
Merge pull request #211 from mgmax/fix-issue-208

Fix #208: closing the lasercutters/materials dialog deleted all entries