rebuild confirm in layouts