save before changing forms