After submitting one pupup, open new pupup


I would like to do the following with my web:

1. Open one pupup with a contact form 7 within.
2. Once the pupup 1 is submitted, automatically open other pupup with other contact form 7.

Is this possible to do it? Could it be done within the same pupup (make space bigger), or we need two pupups windows?

Thanks for your help!