fixed issue when form changes. Added a function that defers calling the hide code until after whatever is running when the form changes.
fixed issue when form changes. Added a function that defers calling the hide code until after whatever is running when the form changes.