Adds test for edit control deactivation on form close.