PDI-4774 - Widget Disposed - Formula step

What was done:
1) added checks that widgets are not disposed
Merge pull request #191 from kolinus/PDI-4774

PDI-4774 - Widget Disposed - Formula step