fixed window bug in CTV3_522
fixed openComposeMailWindow bug that prevents method from sending email