Edit button logic and skeleton route.