Form contains wrong button and warning messages