layout applied to new, edit