make editing and creating memories use the same template and controller