How can I close the form for submission at a certain time?