add persistence to forms