stay on Copy Application tab when form fails to validate

fixes http://manage.dimagi.com/default.asp?94077#535996

Instead of redirecting to the Settings tab, stay on Copy Application tab