Form deactivate not work

Thanks Nik! The problem has been solved!