end() doesn't make buttons anymore. You need to call button() or submit() separately.