wrap up edits to mode form