Dot dialog content memoization
Dot dialog content is being unnecessarily rerendered with each state change which makes the whole app slow when the dialog is opened. This can be seen here in the epsilon remover output.
This MR makes it so the content is rerendered only when the dot string is changes.