fixed error for issue #52

The form appear but will not closed this issu until the page is working
correctly