modify sub page

clear form content and error information when close the sub page