Add checkbox to mask gui.  Refs #6881.
Merge remote-tracking branch 'origin/feature/6881_save_mask'. Re #6881