make sure all controls are considered for validation when closing a form without save

Signed-off-by: Blaise Fonseca <blaisefonseca@hotmail.com>