Modified to disallow a blank application name on the Add New Defect
screen. An Error dialog is popped up if user tries to submit or email a
defect with a blank application name.