Fixing data attributes on create object buttons