Submit form on session change.