Added validation to gadgetId textfields in UserDetailPanel