don't write panel states to dtrc when entering preview mode
Merge pull request #677 from AlicVB/exit_preview_2

don't write panel states to dtrc when entering preview mode