Save the data from the modules form in the session.