WIP: allow storing dialog state
This will not work yet because ExprEditor has an underlying private QTextEdit without an objectName. But the idea is there ^^