-fixed bug when closing the new task window wont clear out the error fields