tab persistence with edit or create