tell the scope that sth changed if a beforeSubmit function is provided