How can I close the form when I have enough forme filled?