alert box for closing form when data is entered