Ensure that form is not disposed.