Put the edit tet view inside the main detail view to make things work