I was able to resolve this by setting the ShowModal property of the form to False in the form properties.