Code added to dlgExecFilter and dlgFA