Use a single function to mark the waiver state and close the window for

the mobile waiver. Let's try this version on an eyePhone.