Add save question logic on logoff and page unload