Refactors FormEditTitle and the redirect process on form submission