close modal form when correct