opening and closing new exam form working