move add/edit to session