Not sure if I read your problem exactly, but there is a program called 'X Button" that when you tap X it actually closes the program, as if you went into the task manager and ended the program.
Here's a link where you can download X Button if you're interested.
http://www.freewarepocketpc.net/ppc-...ton-v1-50.html