File state taxes before amended 1040?

Before the deadline, I filed my 1040 which would give me a refund, and not yet filed the state taxes, but then found an error requiring that I amend the 1040 and now pay back some of the refund.  How can I file my state taxes while I wait for my 1040 refund - and then file my amended 1040?  Also, turbotax (online) seems to indicate that it is going to file an amended state CO104 when I haven't filed my original CO 104 yet.